A command-line interface (CLI) based Tetris game built with Rust and ratatui.rs
.
This project is a CLI-based implementation of the classic Tetris game, developed using Rust and the ratatui.rs
library. ratatui.rs
is a library for building rich terminal user interfaces. The main objective of this project is for me to learn more about how to write code in Rust programming, as this is my first ever Rust-only repository
- Classic Tetris gameplay
- Colorful and responsive terminal UI
- High score tracking
- Clone the repository:
git clone https://github.com/FelixFern/tetrs cd tetrs
- Build the project:
cargo build
- Run the project:
cargo run
- Left Arrow (move Tetris block one to the left)
- Right Arrow (move Tetris block one to the right)
- Q (quit the game)
- Z (rotate Tetris block counter-clockwise)
- X (rotate Tetris block clockwise)