A Tetris clone written in Rust
Rust
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin/assets
src
.gitignore
Makefile
README.md
rustytetris.png

README.md

Rusty Tetris

A Tetris clone written in Rust.

screenshot

The fall speed increases every 10 tetrominoes.

Keys:

  • Q / E rotates the active tetromino.
  • Left / Right / A / D moves the active tetromino.
  • Down / S drops the active tetromino.
  • F1 to restart after losing.

Dependencies:

Installation:

  • Build piston-workspace according to instructions.
  • Run git clone https://github.com/bachm/rusty-tetris.git
  • Copy the contents of /piston-workspace/piston-symlinks/ into /rusty-tetris/target/cpu-vendor-os/lib/ (replace "cpu-vendor-os" with your own, for example x86_64-unknown-linux-gnu)
  • In the rusty-tetris folder, run make exe