8x8 Matrix Snake Game





Introduction: 8x8 Matrix Snake Game

All credit goes to Jorg Visch, from whom I based this project off of and got most of my code from, his arduino link is here http://fritzing.org/projects/snake-8x8-led-matrix-ada-fruit

Step 1: Necessary Parts

To create this project, you need:

1 8x8 LED Matrix Mini

1 Breadboard

1 Arduino Uno

Assorted Jumper Cables

2 Buttons

Step 2: Supplementary Code

There are two files needed to run the project,located in the attached zip file, as well as two libraries needed to run the Matrix. The first is the Adafruit GFX library, found here https://github.com/adafruit/Adafruit-GFX-Library, and the Adafruit LED backpack library, found here https://github.com/adafruit/Adafruit_LED_Backpack

Step 3: Wiring

Attached here is the Fritzing file needed to wire the matrix up, just follow the wiring shown in the diagram and it should work fine

Step 4: Finished Project

This is how the project should look after completion, if it doesn't please go through said steps again



    • Oil Contest

      Oil Contest
    • Clocks Contest

      Clocks Contest
    • Make it Move Contest

      Make it Move Contest

    We have a be nice policy.
    Please be positive and constructive.




    you can help me repair this error: 'buttonClicked' was not declared in this scope, please

    Great idea. I'll get my school kids to give it a go.

    great works perfectly all i had to do was wire it up and copy and past the buttons code into the snake 8x8 matrix code. the only question i have is there any way i could have it so if you go off the side off the matrix you die/get restarted

    2 replies

    I havn't looked at this code, but I made a snake game on the max7219 and i constantly tracked the position of the snake. if he got over the edge i would run a game over function

    Im not sure but I think for a matrix you can't, but again im not too sure

    No, from what I know you have to use the 12c Adafruit backpack

    That looks fun :)