Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tetris game

Tetris game

Built in Breadboard, a Hack Club program. This project took ~6.6 hours of work.

What It Does

A Tetris game that you play by tilting the hardware. If you tilt it you can move the blocks left or right.

NOTE: The project says "ESP32" but I hit Ctrl+Z and it deleted everything, then I realised the stuff in the Arduino kit might be a better fit anyways. So can I please get an Arduino kit? NOTE2: The 8x8 dot matrix is broken in the editor. I meant to make a Tetris game, but both the tilt sensor and 8x8 dot matrix are broken, so I couldn't finish my project. The wiring is confirmed to work in real life. I just have to finish the firmware up. Nevertheless, I've done as much as I could in the simulator. This has been discussed with @Tanuki

How It Works

The circuit is captured in breadboard-project.json, and the firmware that runs it is in the firmware/ folder.

How To Use It

You need a LCD1602, a breadboard and an Arduino Uno, which are all in the kit. You also need a tilt switch, which you'll need to source from Aliexpress yourself. It's an IC with three pins: VCC, GND and OUT.

It's a Tetris game. Press the button to start the game and see the score on the LCD. Move the blocks with the tilt switch.

Currently, the firmware isn't fully done, because two vital components I wanted to use seem to malfunction in the simulator; namely the 8x8 matrix and the tilt switch. I will finish the firmware up when I receive the kit.

Demo

Schematic

The editor snapshot is in breadboard-project.json.

Bill of Materials

Part Quantity
breadboard-full 1
dot-matrix-8x8 1
lcd1602 1
lcd1602-i2c 1
pushbutton 1
tilt-switch 1

Firmware

Firmware files are in the firmware/ folder.

Build Journal

Build journal entries are kept in journals.md.


Made in Breadboard — 6.6h of work

Breadboard mascot

About

A Tetris game that you play by tilting the hardware. If you tilt it you can move the blocks left or right.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages