Skip to content

CarstenKoenig/tetris-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tetris-rust

very simple Tetris clone in Rust using the piston game-engine

This is me learning a bit Rust - if you have any hints or just WTFs please help me learn ;)

screenshot

build/run

make sure you have Rust and Cargo installed (I guess it's recommended to use Rustup which will get you both).

Then just clone this repo, and use cargo to build and/or run:

git clone https://github.com/CarstenKoenig/tetris-rust.git
cd tetris-rust
cargo build
cargo run

Have Fun


Does this work everywhere?

Piston is cross-platform and I had no issue getting it to run under both Linux and Windows (I think I had to fetch some dependencies/dev-libraries for Linux but if you are on Linux this is probably no surprise for you - build it and google for the missing libraries+your distribution and you should find the solution easily).