How to make a Snake Game using Rust and an Arduino Uno R3
James Programming James Programming
32 subscribers
287 views
3

 Published On Oct 4, 2024

In this video we build a working snake game using a Max 7219 display, a joystick and an Arduino Uno R3, all programmed in Rust. Only a Uno R3 can be used for this project, the Uno R4 is not yet properly supported in Rust.

Source code: https://github.com/Jamzy01/snake-tuto...

Create project command: cargo generate --git https://github.com/Rahix/avr-hal-temp...

00:00 - Project Setup
01:48 - Basic Circuit Setup
03:14 - Wiring Up The Display
05:39 - Display Setup
09:39 - Fruits
13:51 - Snake Planning
19:20 - The Snake
25:18 - Wiring Up The Joystick
26:07 - Programming The Joystick
32:41 - Game Loop
34:47 - Checking For Self Collisions
39:13 - Fixing The Game Speed Delay

Music: https://www.bensound.com/free-music-f...
License code: AJQM7IWM9TON5ET8

show more

Share/Embed