Tetris in Rust & Macroquad
Run cargo run
.
(Press G
in-game for debug mode.)
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 |
-
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