Skip to content

The classic "Snake" game reimagined onto the 3D playing field of a self-contained, rotation-controlled LED cube.

Notifications You must be signed in to change notification settings

jbejjani2022/SnakeCube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SnakeCube

SnakeCube is a reimagination of the classic Snake computer game from a two-dimensional screen to a three-dimensional self-contained LED cube. Using a gyroscope and Arduino microcontroller, SnakeCube reads the user’s rotational input and transforms it into an interactive game on the faces of the cube. This repository contains our code for the game, including processing of gyroscope data from the cube, game-cube control and logic, and a suite of tests.

Encased in lasercut transparent acrylic, the cube's electronic components include NeoPixel LED strips, an Arduino MKRZERO, a BNO08x gyroscope, a few SN74AHCT125N logic level shifters, and a few staple components such as a piezo buzzer, potentiometer, protoboard, breadboard, slide switch, battery pack, and many wires and buttons.

A lot of design work went into engineering a closed game environment robust to quick rotations on all axes as well as coordinating the movement of the snake across different faces. Team: Joey Bejjani, Aiman Anuar, Dillon Browning, Grayson Martin.

See the SnakeCube in action in our video presentation.

About

The classic "Snake" game reimagined onto the 3D playing field of a self-contained, rotation-controlled LED cube.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages