Snake Game
![640113.jpg](/proxy/?url=https://content.instructables.com/F8C/YJJQ/K8LTJW2T/F8CYJJQK8LTJW2T.jpg&filename=640113.jpg)
![640114.jpg](/proxy/?url=https://content.instructables.com/F2G/78JX/K8LTJW2Y/F2G78JXK8LTJW2Y.jpg&filename=640114.jpg)
The video:https://youtu.be/MCf0SAET7_g
Origin
Web: https://www.instructables.com/id/Portable-Snake/
Describnation
It is a old game. It was shown on nokia in 1976s. I made this game for children who don't have devices
Material That You Need
![20200404_230928 (1).jpg](/proxy/?url=https://content.instructables.com/FFA/TU76/K8T254OH/FFATU76K8T254OH.jpg&filename=20200404_230928 (1).jpg)
![20200404_175314.jpg](/proxy/?url=https://content.instructables.com/FMR/MELT/K8T2559V/FMRMELTK8T2559V.jpg&filename=20200404_175314.jpg)
![20200404_222426.jpg](/proxy/?url=https://content.instructables.com/F3X/QQBM/K8T255AF/F3XQQBMK8T255AF.jpg&filename=20200404_222426.jpg)
Arduino Leonardo
MAX7219 8*8 - if you bought the wrong one, you can cut it yourself.
Box - any box
Joystick
Jumper wires
Breadboard
Battery carrier
Battery case
Batteries
Code
![螢幕快照 2020-04-11 下午10.34.06.png](/proxy/?url=https://content.instructables.com/F1Y/C51U/K8T25HGD/F1YC51UK8T25HGD.png&filename=螢幕快照 2020-04-11 下午10.34.06.png)
https://create.arduino.cc/editor/rocky_chen/75591c57-dad5-45ab-bf36-ceab4009d299/preview
Hardware Setup
![20200405_183710.jpg](/proxy/?url=https://content.instructables.com/FJP/4LW4/K8T255BN/FJP4LW4K8T255BN.jpg&filename=20200405_183710.jpg)
First of all, connect the Arduino 5V to the + on the Breadboard, and the Gnd to the -
LED matrix:
Now you take your LED matrix and connect the VCC-pin to the volt-line and the GND-pin to the ground-line. After this you can connect the DIN-, CS- and CLK-pin accordingly to the 13-, 12- and 11-pin on your arduino. Your LED matrix is operational now
Joystick
Connect the VRx- and VRy-pin to analog pins 0 and 1 on your arduino (A0 and A1) and connect the SW-pin to the 2-pin.
Battery
7-12V recommended, for example a 9V battery with a 9V battery snap connector.
Change
The length of the snake and the words that will show up in the end.