Skip to content

traitimtrongvag/Tetris-tui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tetris-tui

Rust Terminal License Crates.io Downloads Docs.rs

A Tetris game for the terminal written in Rust during my free time :D

demo

Features

  • Beautiful TUI interface!
  • Works well in all environments!

Dependencies

  • Rust 1.70 or higher
  • crossterm 0.27
  • ratatui 0.26
  • rand 0.8

Installation

Option 1: Install from crates.io (recommended)

cargo install tetris-tui-rs

Run:

tetris

Option 2: Build from source

git clone https://github.com/traitimtrongvag/Tetris-tui.git
cd Tetris-tui
cargo build --release

Run:

cargo run --release

Usage

  • Press Esc to go back or Q to quit.

Game Play

  • Rotate block
  • Move left / right
  • Move down
  • Space Hard drop

About

Tetris in the terminal.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages