Repository navigation
v0.3.0
The ten open fix tickets were each read against the code, and the ones that were real are fixed and held by new tests: Magnetic Blocks' settings and Space key, and the big-board region of Falling Triplets and Colour Chains. The other tickets were already fixed in 0.2.0, and the review tests that hold them now run in pnpm test:demo.
Added
powerDropPreviewof Colour Chains returnssettledCellsas well asfinalCells: where each stone of the pair comes to rest in the board the hard drop commits, before any clear, with the stones' stable ids.finalCellsis where the pair locks after the rebound (the cells of thepower-drop-landedevent), and stones above a gap then fall, so a ghost drawn fromfinalCellscould sit a row above where the stone ends up. The new type isChainsPowerDropPreview.test/previews-match-outcomes.test.mjscompares the previews with the boards the real actions leave, over thousands of played boards: the Shizen hard-drop preview, the gentle Place landing, Falling Triplets' landing row, and Magnetic Blocks' two actions.e2e/review/boards-settings-and-keys.test.mjsplays the demo's level settings, its Space key, its big-board keyboard navigation in both languages and the square cells of every size.
Fixed
- Magnetic Blocks: choosing a level or lesson shows its own board size, colours, floor and impact at once, as "Fixed · 8 × 12" ("固定"), instead of the free-play choice it would not use; the rules are locked while it is chosen, and choosing Free play, or a mode, gives the player's own settings back. Before this the controls changed only on New game, then kept the level's values for good, labelled "Custom size". The board in play is not relabelled before New, and the free choices are remembered between visits.
- Magnetic Blocks: in a campaign level or lesson the Space key did a hard drop while the ghost and the Place button showed a gentle land. The two leave different boards on about one in seven positions of the campaign. Space now does what the game's mode offers, as the ghost shows.
- Magnetic Blocks keeps its checkpoint within 350 ms of a change during continuous play; every move used to postpone the save until the player stopped.
- Falling Triplets: a board too big for the screen is a focusable, labelled region like the other two, with a position readout; its arrow keys scroll it and no longer move the triplet.
- Falling Triplets, Colour Chains and Magnetic Blocks: "Top", "Bottom" and the position readout are in Japanese when the page is, and the region is named for the board it holds, not for its scroll position. A board that fits is no longer a tab stop.