Skip to content

๐Ÿ๐Ÿ•น๏ธ Snake game in Arduino R4 LED matrix and joystick controller

Notifications You must be signed in to change notification settings

siphyshu/snake-R4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

28 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ๐Ÿ•น๏ธ 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

About

๐Ÿ๐Ÿ•น๏ธ Snake game in Arduino R4 LED matrix and joystick controller

Topics

Resources

Stars

Watchers

Forks