Commit Graph
13 Commits
Author SHA1 Message Date
skrueckenandCursor 639f4b088d Split Color Game into digit and color modes with up to 16 pods.
Add menu entries for both variants, use eight high-contrast colors with allowed duplicates, and turn wrong-guess pods off after a red blink until the next round.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-02 00:00:21 +01:00
skrueckenandCursor 2138039b72 Support dynamic 2–8 player Space Shooter from selected pods.
Replace the fixed left/right split with selectable pod slots and a scalable grid layout so player count follows the chosen pods.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-01 23:36:42 +01:00
skrueckenandCursor 142968038c Unify pod steering on lateral X tilt for flat and frontal holds.
Replace facing-only roll detection with atan2(x, yz) so left/right works in both orientations without a face gate.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-26 15:28:44 +02:00
skrueckenandCursor 130532c4c9 Use frontal steering-wheel roll for Space Shooter movement.
Drop the interactive accel calibration and map left/right ship motion from absolute pod roll while held facing the player.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-26 13:46:34 +02:00
skrueckenandCursor 54d42dade9 Add per-pod orientation gizmo to the API demo.
Shows live accel attitude with a front-view cylinder (flat / facing / steer) and a TOP marker that rotates with the mesh.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-26 13:41:07 +02:00
skrueckenandCursor a32a223881 Add split-screen Space Shooter with pod steering and boost.
Two-player mode with client assignment, 3D vector calibration for cylindrical
pods, lives, tap/double-tap boost with low-intensity LED cooldown feedback,
and Kenney sprite assets.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-06 18:56:55 +02:00
skrueckenandCursor 70e66f4d60 Adapt game clients to the unified WebSocket input stream.
Replace separate accel/tap push handling with input messages, set_input_stream, and a single set_stream on port 8081.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-31 13:47:41 +02:00
skrueckenandCursor 440b49c889 Replace Color Game with pod number reaction game on the API WebSocket.
Players match a displayed digit to the correct pod via tap, with round timing and adjustable LED brightness.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-29 22:04:20 +02:00
skrueckenandCursor 4f3435ba37 Add per-client LED controls aligned with the REST API schema.
Each client panel gets mode-specific LED inputs (color, intensity, progress, digit, blink) and the Makefile now copies API_REST.md alongside the WebSocket docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-29 21:55:18 +02:00
skrueckenandCursor 84827c9782 Add main menu, WebSocket API demo, and multi-scene game hub.
Replace the single-entry Pong flow with a menu launcher, a per-client API demo on :8081/ws with stream controls and tap flash feedback, and bump the viewport to 1920×1080.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-29 21:43:44 +02:00
skrueckenandCursor 9107dea6ff Fix WebSocket accel parsing for missing or nested JSON fields.
Avoid crashes when x/y/z are absent or nested under accel/data keys.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-28 22:00:55 +02:00
skrueckenandCursor 84b1a89f75 Add README with project overview and calibration technical docs.
Documents WebSocket protocol, architecture, calibration math, and gameplay.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-28 21:56:28 +02:00
skrueckenandCursor bc25226a31 Initial commit: Godot Pong game with WebSocket accelerometer control.
Includes platform steering via calibrated accel axes, ball physics,
calibration overlay with axis detection, and runtime tuning sliders.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-28 21:52:35 +02:00