Repository navigation
1.16 part 10/18: Games: phone and landscape passes over the older games - #181
Closed
epheterson wants to merge 2 commits into
Closed
epheterson wants to merge 2 commits into
epheterson wants to merge 2 commits into
Conversation
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
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 |
epheterson
force-pushed
the
line/1.16.0-09-games-red
branch
from
November 23, 2026 10:07
1d0a378 to
9151986
Compare
epheterson
force-pushed
the
line/1.16.0-10-games-phone
branch
from
November 23, 2026 10:07
9883bfd to
36f1493
Compare
epheterson
force-pushed
the
line/1.16.0-09-games-red
branch
from
November 23, 2026 10:52
9151986 to
fd2590f
Compare
epheterson
force-pushed
the
line/1.16.0-10-games-phone
branch
from
November 23, 2026 10:52
36f1493 to
2784201
Compare
epheterson
force-pushed
the
line/1.16.0-09-games-red
branch
from
November 23, 2026 16:37
fd2590f to
445cb99
Compare
epheterson
force-pushed
the
line/1.16.0-10-games-phone
branch
from
November 23, 2026 16:37
2784201 to
5c8fda1
Compare
epheterson
force-pushed
the
line/1.16.0-09-games-red
branch
from
November 23, 2026 16:44
445cb99 to
729e9a3
Compare
epheterson
force-pushed
the
line/1.16.0-10-games-phone
branch
from
November 23, 2026 16:44
5c8fda1 to
21a45d9
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 10 of 18 of Zimi 1.16.0: Games: phone and landscape passes over the older games. Base:
line/1.16.0-09-games-red(part 9); 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 phone and landscape pass over the older games: layouts for a short, wide screen, touch fixes, win and end-sheet fixes, how-to-play for Five Letters, and the play-testing bots and tests that found them. The part has two commits: the source changes, then the Games ZIM rebuilt from them (
zimi/builtin/zimi_games_2026-11k.zim, taken from the release branch unchanged).What changes
*.js:cribbage.js(smaller board, crib and starter either side of it),bridge.js(bid grid fourteen to a row),koikoi.js(captured strip beside the opponent's hand),freecell.js(wide layout: cells left, foundations right), and smaller edits ingin.js,durak.js,holdem.js,blackjack.js,teenpatti.js,spider.js,pyramid.jsand other card games.fiveletters.js,fiveletters.html: a how-to-play sheet shown once on a device and behind a "?" button, three example rows, and half-key spacers so the middle keyboard row keeps key size. Its CSS rides in part 9.koikoi.js: the win line is listed first, and the game declareslistWin,finishedandfinishNowto the shared card shell for its end sheet.memory.js: the picture sets are read fromZimiPictures(pictures.js, already in the tree) instead of being drawn inline;memory.htmlloadspictures.js.stacker.js: the canvas scale is laid again before each draw, because a browser can drop canvas state.zimcity-view.js: a paused city skips a frame when nothing it draws from has changed (_unchanged).zimcity/engine/budget.js:yearOfreturns what a year costs and brings in; the budget uses it.zimcity.js,zimcity-tools.js,zimcity-modern.js,zimcity-sheets.jshave small phone edits.janggi-engine.js: in bikjang the pass is offered even in check.puzzles/zimi-fit.js: both "COMPLETED!" and "COMPLETE!" status lines count as a win (Same Game says the latter).scripts/games_bot/: dev tools, not shipped.lib.pyserves the games folder and opens a 390x844 touch phone,play.pydrives the family games and solitaires by touch,bot3.pyplays a card game to its end on a fake clock and keeps the finished state,play4.pyreloads it with scores set for a win and a loss,flipsolve.pysolves Flip.How to review
bridge.jsandcribbage.js(theg.shortbranches: geometry only, no game rules) andfreecell.js(WIDEcolumns, thex()mapping used by cells, foundations and columns).fiveletters.js(how-to-play, the stored "seen" flag) andkoikoi.js(finishedandfinishNowmust match whatgameOverdoes).janggi-engine.jsmove generation (the pass rule).zimi/builtin/zimi_games_2026-11k.zimand its.sourcehash (built bypython -m zimi.ownzims,--checkis CI's gate).Tests
tests/test_games_landscape_browser.py,tests/test_games_landscape_overlaps_browser.py,tests/test_games_pa_boards.py,tests/test_games_pa_oddone_layout.pycheck that pills, trays, piles, the bid grid and boards do not overlap and that boards stay playable size.tests/test_games_phone_fit.py,tests/test_games_pa_touch.py,tests/test_games_pa_round4.py,tests/test_games_kart_touch_browser.py.tests/test_games_pc_ends_browser.py,tests/test_games_pc_puzzles_browser.py,tests/test_games_puzzles_solved_browser.py.tests/test_games_five_how_browser.py,tests/test_games_five_tap.py.tests/test_games_head_title_browser.py; the ZimCity browser tests cover the frame skip and budget..cjsfiles are quick.