Skip to content

Latest commit

 

History

History
33 lines (19 loc) · 1.38 KB

README.md

File metadata and controls

33 lines (19 loc) · 1.38 KB

🐍🕹️ snake-R4

A Snake game in Arduino UNO R4's LED matrix with a joystick controller

demo.mp4
*sfx in demo video purely for viewing purposes

Read the detailed technical article here: medium.com/@siphyshu/i-made-th...

Requirements

  1. Arduino UNO R4 WIFI
  2. Dual-Axis joystick controller
  3. 5 connecting wires

Setup

Connect Arduino R4's 5V, GND, A0, A1, and D2 to the PS2 Joystick module's 5V, GND, URX, URY, and SW respectively.

Flowchart

Notes and TODO

These are my ideas for the project, PRs are welcomed if anybody wants to work on these.

  • This can be modified for any arduino connected with an LED Matrix, that can be explored
  • See how a blinking head on the snake looks. Does it provide clearer visuals of the snake's direction?
  • Adding an infinite AI playing mode could be fun and can be used as a screensaver playing in the background