8x8 Matrix Snake Game

5,428

13

9

Intro: 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

Share

    Recommendations

    • Plastics Contest

      Plastics Contest
    • Electronics Tips & Tricks Challenge

      Electronics Tips & Tricks Challenge
    • Audio Contest 2018

      Audio Contest 2018

    9 Discussions

    0
    None
    hungd18

    1 year ago

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

    0
    None
    abertuola

    1 year ago

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

    0
    None
    ljcorky

    1 year ago

    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
    0
    None
    Jordy2610ljcorky

    Reply 1 year ago

    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

    0
    None
    hlsierrastewljcorky

    Reply 1 year ago

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

    0
    None
    Swansong

    1 year ago

    That looks fun :)