poker: power-button combinations for every action, unique board IDs

main
No checks reported

Commit

mswq23h ago

board.py counts taps within 0.6 s as one combination and sends the count; the hub maps 1 = deal / check / call, 2 = minimum bet or raise, 3 = fold, 4 = all in, 5 = restart the game. The console gains "tap <seat> [count]" to simulate a board's button, so the logic can be tested without boards.

Boards flashed from one image share /etc/machine-id, which gave two boards the same seat. board.py now identifies itself by the SoC serial number.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com