This is an implementation of some of the rules of the popular Tetris game using egui for the graphical interface, done for education purposes.
If you have cargo, just run
cargo install tetris-gui
and run
tetris-gui
in the command line.
- Arrow keys control movement;
- Q/E controls counterclockwise and clockwise rotation respectively;
- Z hard drops;
- Space pauses.