Classic Pong game on Arduino UNO R4 WiFi LED Matrix (1 or 2 players)

Hi everyone,

i've just finished my new project on my loved board.
as described on the title, the goal of the project was implementing the Classing Pong game on Arduino UNO R4 WiFi using the LED Matrix as "Display" everything inside a LEGO case, to hide cables :slight_smile:

Key features:

  • 3 game modes (PvP, PvC, CvC) P means Human Player, C means Computer/Bot player
  • Customizable Difficult Levels (when a bot is playing)
  • Visible Score on the LED Matrix once a player scores
  • Basic "win" animation once a player reached the max score

Pins Connection
Player 1:

  • UP: 12
  • DOWN: 11

Player 2:

  • UP: 10
  • DOWN: 9

Try it
everything is defined inside a Makefile, to make it easy to reproduce

git clone https://github.com/Dea1993/arduino_pong.git ~/arduino_pong
cd ~/arduino_pong
make run_init

there are other useful make commands:

make compile

it just compiles the sketch

make run

it compiles and uploads the sketch on the board, and then it opens the serial monitor

Sources:

the whole project is published on my github page under GPLv3 License

Watch it in action:

Any suggestion or feedback is welcome,
Hope you like it.

3 Likes