1
0
Fork
You've already forked tetris
0
No description
  • Rust 100%
2026年03月26日 08:13:59 +01:00
src add: game over message & terminal size 2023年12月09日 15:20:46 +08:00
.gitignore done 2023年12月08日 18:22:05 +08:00
Cargo.lock done 2023年12月08日 18:22:05 +08:00
Cargo.toml done 2023年12月08日 18:22:05 +08:00
LICENSE Initial commit 2023年12月08日 18:10:38 +08:00
README.md Update README.md 2026年03月26日 08:13:59 +01:00
screenshot.gif done 2023年12月08日 20:31:59 +08:00

tetris game

I downloaded bastard, a tetris game, on linux, and then realized that its block selection is not random (which is why I encountered O ten times in a row).

I've been learning Rust and multithreading for the last three days, so I wrote this game. I won't be playing this game after writing it though, I guess.

compile

cargo run

then done.

how to play

  • down, left, right: ...
  • up: rotate
  • space: hard drop
  • z, up: rotate clockwise
  • x: rotate counterclockwise
  • p: pause
  • q, ctrl+c: quit (then press any key to go back to former screen)

screenshot

screenshot