http://www.platelayer.com/dual-player-reaction-game.aspx

PlateLayer by Svein-Martin Holt

 

Dual Player Reaction Game, just for fun!

UNDER CONSTRUCTION

Overview

This project is a two-player reaction time game built with an Arduino-compatible board, NeoPixel LED strips, an OLED display, buttons, and a buzzer.

The goal is simple:

Press your button as fast as possible when “GO!” appears.
The fastest player wins, and their reaction time is displayed.

 

Image

 

Hardware Requirements:

  • Arduino (UNO / Nano / similar)
  • 2 × NeoPixel LED strips (16 LEDs each)
  • SSD1306 OLED display (I2C, 128×64)
  • 3 × Push buttons
    • Left player
    • Right player
    • Reset / Start
  • Piezo buzzer
  • Optional: onboard LED (pin 13)
  • External power recommended for LEDs

Breadboard setup

 

 

Schematic

Schematic for Reaction Game

The software

The software, version 1.0, file reaction_time_game_led2.ino.

The complete software, can be found on my github: https://github.com/smholt/DualPlayerReactionGame/

The first lines shown below:

/* reaction_time_game_led2.ino by Svein-Martin Holt, www.platelayer.com january 2026

  Dual Player Reaction Game, just for fun!

  Description:
  A two-player reaction game using NeoPixel LED strips, an OLED display, buttons, and a buzzer.
  Players press their button as fast as possible when "GO!" appears. The fastest player wins,
  and the reaction time is displayed on the OLED.
  
  More info can be found on my homepage: http://www.platelayer.com/dual-player-reaction-game.aspx

  The software can be found here: https://github.com/smholt/DualPlayerReactionGame/

  Connections / Pinout:
  - Left NeoPixel strip  (16 LEDs): Pin 4
  - Right NeoPixel strip (16 LEDs): Pin 5
  - Left button: Pin 10 (INPUT_PULLUP)
  - Right button: Pin 8 (INPUT_PULLUP)
  - Reset button: Pin 9 (INPUT_PULLUP)
  - Buzzer: Pin 6
  - Onboard LED: Pin 13
  - SSD1306 OLED (I2C 128x64): SDA/SCL pins (address 0x3C)

  Libraries required:
  - Adafruit_NeoPixel
  - SSD1306Ascii
  - SSD1306AsciiAvrI2c

  The original idea came from https://projecthub.arduino.cc/Westpol/reaction-time-game-846789
  Thank you to "Westpol".
  
  I added the OLED-display and the LED-strips. ChatGpt is also a great tool to enhance and create code. Thank you.
  
  Have fun.
*/

#include 
#include "SSD1306Ascii.h"
#include "SSD1306AsciiAvrI2c.h"

...........................................  Continue on github