Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rustris

A terminal Tetris clone written in Rust, rendered with crossterm — no GPU or display server required, just a terminal.

CI License: MIT

Screenshot of rustris running in a terminal

Features

  • All 7 standard tetrominoes with 7-bag randomization
  • Rotation with basic wall kicks
  • Ghost piece drop preview
  • Soft drop and hard drop
  • Line clearing with classic scoring (single/double/triple/tetris)
  • Level progression that speeds up gravity as you clear lines
  • Next-piece preview and live score/lines/level panel
  • Pause

Install

Download a prebuilt binary from the latest release, or build from source:

git clone https://github.com/zkm/rustris.git
cd rustris
cargo build --release
./target/release/rustris

Or run directly without building manually:

cargo run --release

Controls

Key Action
/ Move
Soft drop
or x Rotate
Space Hard drop
p Pause
q / Esc Quit

Development

cargo build          # debug build
cargo test           # run tests
cargo clippy --all-targets --all-features -- -D warnings
cargo fmt --all

License

Licensed under the MIT license.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Contributors

Languages