/tetris-cli

Play a Tetris clone direcly on your terminal!

Primary LanguageRust

Tetris CLI

Play a Tetris clone directly on your terminal!

Made entirely in Rust.

Tetris CLI

(Tested on Zsh and Bash in Linux)

How to play

  • Move the piece to the left: a
  • Move the piece to the right: d
  • Rotate the piece: l
  • Drop the piece: s
  • Quit the game: q

Setup

Option 1 - Using the binary

  1. Download the binary from the releases page

OR

  1. Clone the repository and enter the directory
git clone https://github.com/yantavares/tetris-cli.git
cd tetris-cli/bin
  1. Run the game
chomd +x tetris-cli

./tetris-cli

Option 2 - Using Cargo

  1. Install Rust and Cargo

  2. Clone the repository and enter the directory

git clone https://github.com/yantavares/tetris-cli.git
cd tetris-cli
  1. Run the game
cargo run

Thank you for playing!