Repository navigation
1.16 part 8/18: Games: new board, dice and picture games - #179
Closed
epheterson wants to merge 1 commit into
Closed
epheterson wants to merge 1 commit into
epheterson wants to merge 1 commit into
Conversation
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
Sorry @epheterson, your pull request is larger than the review limit of 150,000 diff characters |
Merged
epheterson
force-pushed
the
line/1.16.0-07-games-cards
branch
from
November 23, 2026 10:07
3d6d392 to
a12ffc1
Compare
epheterson
force-pushed
the
line/1.16.0-08-games-new
branch
from
November 23, 2026 10:07
b9589c2 to
7d5a2e5
Compare
epheterson
force-pushed
the
line/1.16.0-07-games-cards
branch
from
November 23, 2026 10:51
a12ffc1 to
d157b69
Compare
epheterson
force-pushed
the
line/1.16.0-08-games-new
branch
from
November 23, 2026 10:52
7d5a2e5 to
87f5336
Compare
epheterson
force-pushed
the
line/1.16.0-07-games-cards
branch
from
November 23, 2026 16:37
d157b69 to
ce77970
Compare
epheterson
force-pushed
the
line/1.16.0-08-games-new
branch
from
November 23, 2026 16:37
87f5336 to
173a003
Compare
epheterson
force-pushed
the
line/1.16.0-07-games-cards
branch
from
November 23, 2026 16:44
ce77970 to
0ca2233
Compare
epheterson
force-pushed
the
line/1.16.0-08-games-new
branch
from
November 23, 2026 16:44
173a003 to
74fbfb9
Compare
Owner
Author
|
Reviewed here; included in the release PR #189. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part 8 of 18 of Zimi 1.16.0: Games: new board, dice and picture games. Base:
line/1.16.0-07-games-cards(part 7); the diff shows only this part's files. The PR carries thenot-a-releaselabel and the version stays 1.15.7, so merging it cuts no release. Merge in order (1 to 17, then 18) with a merge commit, not a squash.What this is
The new board, dice and picture games of ZimiGames, and a frame for Drop Pin's map. Each game follows the existing pattern: rules as pure functions that node can test, then the page. The rows for these games are already in
games.jsonfrom part 6.What changes
walls.js,walls-engine.js,walls.css,walls.html): a 9 by 9 race where a turn steps a pawn or lays one of ten walls, and no wall may shut a pawn off from its goal. The engine is one self-contained function built into a Worker and takes the shared searcher.fourfold.js,fourfold-engine.js): sixteen pieces with four traits on a 4 by 4 board; each turn places the piece handed over and hands one on. Same Worker shape.polyominoes.js,polyominoes-engine.js): two players, the 21 free pieces of one to five squares on a 14 by 14 board, corner contact only; a move is an integer packing piece, orientation and anchor.pig.js,shutthebox.jsandtenthousand.js, each with its own.cssand.html; the scoring and the computer's choice are pure functions.colortrail.js(a colour path race for two to four, with a shape per colour so colour is never the only clue) andwhoisit.jswithwhoisit-art.js(24 faces drawn from their features, so the question buttons reuse the same drawing).oddone.jsandpictures.js: a party game for three to eight on one phone, with pictures drawn inpictures.jsso it needs no word lists and works in any language.droppin-frame.js: Drop Pin's map is a third party viewer in our frame. The frame hides everything beside the map's container (a mutation observer hides new elements), and reads where the map is looking.droppin.jsuses it (startHash,gameMap) anddroppin.cssgets its Red block..cssfiles carry generated Red blocks; the generator lands in part 9.test_games_links.pyandtest_games_featured_row_browser.pyare added here;test_games_pixels.cjsis extended.How to review
walls-engine.js(wall legality and the path check that stops a shut-in), thenpolyominoes-engine.js(orientation tables and the corner rule), thendroppin-frame.js.droppin-frame.jsreaches into a document we did not write (same origin, hidden by structure and not by class name), so a viewer change could leave its controls showing; the engines run in a Worker and a wrong move number is silent;oddone.jskeeps a secret between players on one screen.pictures.jsandwhoisit-art.js; thenight-redblocks marked generated (made byscripts/games_red.py, part 9).test_games_links.pyasserts on the shelf links of the new games, andtest_games_featured_row_browser.pyon the Featured row, which needs these pages to exist.Tests
test_games_walls.cjs,test_games_fourfold.cjs,test_games_polyominoes.cjs,test_games_oddone.cjs,test_games_dicekids.cjs.test_games_dicekids_browser.py,test_games_whoisit_browser.py,test_games_oddone_browser.pyplay the games in a browser.test_games_modern_browser.pyopens the new board games;test_games_droppin_map_browser.pycovers the Drop Pin frame.test_games_featured_row_browser.pyholds the Featured row to the day's pick and to the list of new games.test_games_links.pyandtest_games_pixels.cjscheck the shelf links and the tile art..cjsrules tests andtest_games_links.pyare quick; the browser tests run in the whole matrix, not this PR's quick tier.