Repository navigation
Boards fill the screen: Bowling, Tower Defence, Mancala, Backgammon (#359) - #366
Merged
Merged
Conversation
…359) The last four with a fixed cap or a window-height guess. Each now uses a .ch-fit slot of its own shape (lane 1:1.35, map 10:15, board WU:HU, backgammon 0.64), and Bowling, Tower Defence and Backgammon put their rows beside the board on a wide screen. Mancala's board is wide, so it keeps its rows above and below and only drops its 720px cap. Each redraws on a ResizeObserver on its slot. At 1280x800: Bowling 312x421 -> 529x714, Tower Defence 320x480 -> 470x705, Mancala 720x264 -> 1256x461, Backgammon 364x552 -> 458x715. Mancala's player rows switch to classList like the other games'. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01VoRrYWfb9CHLaEtJPXc4HH
Contributor
Author
|
Diff review
|
This was referenced Oct 19, 2026
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.
Closes #359 (part 6, the last: Bowling, Tower Defence, Mancala, Backgammon)
What changed
.ch-fitslot shaped like its own board:ResizeObserveron its slot. Bowling's swipe is still read against the view it last drew (Add Bowling (بولینگ): ten frames, swipe to bowl (#313) #322).classList, like the other games.Canvas size at 1280×800, measured on main and on this branch:
Proof
همهی 4110 بررسی سبز.MIN_CHECKSis now 4108.tools/browser-check.shloaded 35 of 35 pages.After this part, across #361–#366: every game's board or cards grow with the screen. Only three games still clip a little in phone landscape, exactly as on main: Minesweeper 19px, Battleship 77px, Mahjong 30px. The card games scroll there, as before.
🤖 Generated with Claude Code
https://claude.ai/code/session_01VoRrYWfb9CHLaEtJPXc4HH