Skip to content

caengen/tetris-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tetris-rs

Tetris in Rust & Macroquad

wasm build

Run cargo run.

(Press G in-game for debug mode.)

Demo

Keybindings

Key Action
Left Move left
Right Move right
Up Rotate clockwise
Z Rotate counter clockwise
Down Soft drop
Space Hard drop
C Hold tetromino
P Pause game
R Reset game
G Debugger

Implementation

  • T-Spin

  • Next piece view

  • Hold piece view

  • Score tracker

  • Holding

  • Wall kicks

  • Delayed Auto-Shift

  • Super Rotation System (SRS)

  • Initial Hold System (IHS)

  • Initial Rotation System (IRS) 🤔?

  • Counter-clockwise rotation

  • Frame count based timers

  • Soft drop

  • Hard drop

  • Soft locking

  • [-] Floor kick. Need to fix infinity kicking

  • Ghost piece