Skip to content

TohidEq/rust-game-tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-game-tetris

Tetris game (Rust)

Tetris!

Keys:

A: Move left

D: Move right

S: Faster move down

W: Change direction

Installation

Use Rust-installation to install Rust. Or Rust-other-installation-methods if you are using windows.

Go to the game-tetris folder

cd game-tetris

Install deps

cargo install --path .

Usage

Run inside game-tetris folder

cargo run

Wanna faster?

Open ./game-tetris/src/config.rs and change GAME_SPEED value:

example

pub const GAME_SPEED: u16 = 60;

To

pub const GAME_SPEED: u16 = 10;

or anything

License

MIT. >>> LICENSE

About

Tetris game (Rust)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages