8x8 Matrix Snake Game

10,069

15

8

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

Be the First to Share

    Recommendations

    • Puzzles Speed Challenge

      Puzzles Speed Challenge
    • "Can't Touch This" Family Contest

      "Can't Touch This" Family Contest
    • CNC Contest 2020

      CNC Contest 2020

    8 Discussions

    0
    hungd18
    hungd18

    2 years ago

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

    0
    abertuola
    abertuola

    3 years ago

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

    0
    ljcorky
    ljcorky

    3 years 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

    0
    Jordy2610
    Jordy2610

    Reply 3 years 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
    hlsierrastew
    hlsierrastew

    Reply 3 years ago

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

    0
    inventorinlearning
    inventorinlearning

    3 years ago

    can i used 8x8 led matrix with MAX7219 Dot LED Matrix Kit? thx

    0
    hlsierrastew
    hlsierrastew

    Reply 3 years ago

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

    0
    Swansong
    Swansong

    3 years ago

    That looks fun :)