Games App: Asteroids, and Pong by tilting
CI / build (pull_request) Successful in 3m2s
Site / build (pull_request) Successful in 12s

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
This commit is contained in:
2026-10-15 12:06:29 +02:00
co-authored by Claude Opus 5.5
parent e1d1ec899e
commit 77260af157
10 changed files with 263 additions and 21 deletions
+1
View File
@@ -8,6 +8,7 @@ namespace roro::icons {
// One bit a pixel, the leftmost first, a row after another: what Canvas::drawBitmap takes.
constexpr int kSize = 32;
extern const uint8_t asteroids[128]; // asteroids.png
extern const uint8_t games[128]; // games.png
extern const uint8_t gemini[128]; // gemini.png
extern const uint8_t gnss[128]; // gnss.png