Games: Minesweeper, 2048 and Asteroids, and Pong by tilting #104

Merged
twisla merged 5 commits from more-games into main 2026-10-15 10:36:09 +00:00
Owner

Follows #101.

  • Minesweeper: 20 x 9 with 28 mines, cells of 12 pixels. Mines laid at the first dig, never under or next to it; Enter digs, f flags, Enter on a number whose flags are placed opens the rest. Shows where the mines were when lost; the fastest cleared field is kept.
  • 2048: 4 x 4, a tile merges once a move; 2048 is announced once and the game goes on. No clock, so nothing to pause.
  • Asteroids: steered by leaning the device (the accelerometer, around the angle it was held at when the game began), ; thrust, . fire, the arrows too. Rocks break in two and again in two, three ships, waves that grow, a field that wraps round.
  • Pong by tilting: 0 switches between the keys and tilting, 9 turns the tilt round; both remembered. The paddle rolls to the low side by default.
  • The row of games holds six icons.
  • Docs: guide, README, key tables, glossary.

Tested

  • Host tests: 705 pass, 32 new (Minesweeper, 2048, Asteroids, the tilt rules).
  • On the device: all of it played by hand. Minesweeper's cells went from 8 to 12 pixels to be read; Pong's default tilt direction was swapped after trying it.
  • Not checked: Asteroids' tilt sign and amounts are as first set; the feel is untuned beyond a first play.

🤖 Generated with Claude Code

https://claude.ai/code/session_0162FokPdvY2KsS4NBfwyWPk

Follows #101. - **Minesweeper**: 20 x 9 with 28 mines, cells of 12 pixels. Mines laid at the first dig, never under or next to it; Enter digs, `f` flags, Enter on a number whose flags are placed opens the rest. Shows where the mines were when lost; the fastest cleared field is kept. - **2048**: 4 x 4, a tile merges once a move; 2048 is announced once and the game goes on. No clock, so nothing to pause. - **Asteroids**: steered by leaning the device (the accelerometer, around the angle it was held at when the game began), `;` thrust, `.` fire, the arrows too. Rocks break in two and again in two, three ships, waves that grow, a field that wraps round. - **Pong by tilting**: `0` switches between the keys and tilting, `9` turns the tilt round; both remembered. The paddle rolls to the low side by default. - The row of games holds six icons. - Docs: guide, README, key tables, glossary. ## Tested - Host tests: 705 pass, 32 new (Minesweeper, 2048, Asteroids, the tilt rules). - On the device: all of it played by hand. Minesweeper's cells went from 8 to 12 pixels to be read; Pong's default tilt direction was swapped after trying it. - Not checked: Asteroids' tilt sign and amounts are as first set; the feel is untuned beyond a first play. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_0162FokPdvY2KsS4NBfwyWPk
twisla added 5 commits 2026-10-15 10:32:30 +00:00
Minesweeper on 20 x 9 with 28 mines, laid at the first dig and never
under or next to it, with flags and the open-around-a-number dig; 2048
on 4 x 4, a tile merging once a move. Seeded, host-tested.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0162FokPdvY2KsS4NBfwyWPk
Two more Games in the row of icons, which now holds five. Minesweeper
moves a cursor (a held arrow runs it along), digs with Enter, flags with
f, shows where the mines were when it is lost, and keeps the fastest
cleared field. 2048 slides with the arrows and keeps the best score; it
has no clock, so nothing to pause. Neither keeps the screen lit.

Played on the device: Minesweeper's cells went from 8 to 12 pixels to be
read, and its field to 20 x 9.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0162FokPdvY2KsS4NBfwyWPk
A ship, rocks that break in two and again in two, short-lived bullets,
three ships and waves that grow, on a field that wraps round. Its turn
comes from -1 to 1, which tiltTurn makes from the device's lean around
the angle it was held at when the game began. Host-tested.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0162FokPdvY2KsS4NBfwyWPk
The player's move goes from -1 to 1 instead of three steps, and two
rules make it from the device's tilt: where the paddle is asked to be
(it rolls to the low side, about 15 degrees for the whole height) and
how to get there without overshooting. Host-tested.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0162FokPdvY2KsS4NBfwyWPk
Games App: Asteroids, and Pong by tilting
Site / build (pull_request) Successful in 12s
CI / build (pull_request) Successful in 3m2s
77260af157
Asteroids is the sixth Game: lean the device to turn, ; for thrust, .
to fire, the arrows too for a device on a table. In Pong, 0 switches
between the keys and tilting and 9 turns the tilt round, both
remembered. Both read the accelerometer through the same smoothing, and
take however the device is held at the start as the middle.

Played on the device: the default way of Pong's tilt was swapped after
trying it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0162FokPdvY2KsS4NBfwyWPk
twisla merged commit d03ad01cac into main 2026-10-15 10:36:09 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: twisla/roro9stack#104