This is a fun project to learn more about circuitry and programming. The components are:
- Arduino
- potentiometer
- buzzer
- button (momentary contact)
- 2 buttons (maintained switch)
- 2 seven-segment LED displays
- 2 8-bit shift registers (sn74hc595)
The players can choose the game length using the potentiometer and end their turn by pressing their red button. When the timer runs out, the buzzer sounds and LOSE is displayed on the expired player’s display.
There's a second mode you can set at the beginning where each time a player ends their turn, they receive a configurable increment to their remaining time. This allows players to build up additional time by taking extremely fast turns. This way you can go indefinitely as long as you go fast.
I used some old oak floor boards from the neighborhood to build the enclosure.
I soldered the wires onto a few small circuit boards and stuffed it inside.
Pairs nicely with a wood-burned rotating chess board.