A Rust implementation of Tetris – in your terminal!
Tetrust uses minimal dependencies, but I roped in Ratatui and crossterm to avoid getting bogged down in the specifics of different terminals.
This isn't intended to be a one-for-one clone of any particular Tetris release. It implements my own take the game, often pulling details from memory or just busking it.
- All seven classic block types
- Blocks fall under gravity
- Left, right and downward movement
- Four rotation states for all blocks
- Clearance of completed lines
- Scoring
- Acceleration of gravity as points accumulate
- Next block preview
- Game over screen
| Task | Angus | Claude |
|---|---|---|
| Project architecture | ✅ | |
| Game logic | ✅ | |
| Rotation system (including manual implementations of I, J and O blocks) | ✅ | |
| Rotations of L, S, T and Z blocks | ✅ | |
| Unit tests | ✅ | ✅ |
| README (including en dash use) | ✅ |
git clone https://github.com/AngusGMorrison/tetrust.git
cd tetrust
cargo run
