2 releases
0.1.1 | Mar 3, 2023 |
---|---|
0.1.0 | Mar 3, 2023 |
#1581 in Game dev
40KB
942 lines
Introduction
This is an implementation of some of the rules of the popular Tetris game using egui for the graphical interface, done for education purposes.
Installation and how to run
If you have cargo, just run
cargo install tetris-gui
and run
tetris-gui
in the command line.
Commands
- Arrow keys control movement;
- Q/E controls counterclockwise and clockwise rotation respectively;
- Z hard drops;
- Space pauses.
Dependencies
~7–23MB
~361K SLoC