Archived source flow
Technical notes
Input and menus
Analog ranges on A0 select up, down, select and cancel. The active code uses that one-pin interface; the matrix-keypad include is commented out. Configuration changes the game duration or runs a separate relay test.
Game state and feedback
The domination routine tracks neutral, red and blue states, hold-to-capture or neutralize attempts, elapsed possession time and end-of-game totals. An I2C LCD, indicator outputs, a NeoPixel strip and buzzer provide feedback. Relay writes belong to initialization and the test menu, not the game loop.
Unresolved state handling
Menu conditions assign true to flags instead of testing them. On release, the key becomes x while the release handler only clears select/cancel flags, so hold state can remain latched. Blocking effects, delays and recursive menu calls also need review. No repaired build or tested game result is claimed.