A clone of a famous block breaking game in pure Rust first implemented in ggez and then ported to quicksilver. The quicksilver implementation is more up to date and complete.
- git clone the repo
- Install rust
cargo run -p tetrust-ggez
orcargo run -p tetrust-quicksilver
- Install cargo web and run
cargo web start -p tetrust-quicksilver
- Navigate to output address in browser
KeyCode | Action |
---|---|
LeftArrow | Move Tetrinome Left |
RightArrow | Move Tetrinome Right |
UpArrow | Rotate Tetrinome Clockwise |
Space | Instant Drop |
Z | Rotate Tetrinome Counter Clockwise |
X | Rotate Tetrinome Clockwise |
Q | Clear Board |
- Basic gameplay
- Tetrinome translations
- Tetrinome rotations
- Line clearings
- Wall kicks
- Fancy Animations
- Line clearings
- Instant drops
- Shadow piece
- Instant drops
For now I'm satisfied with what the I achieved considering it was a side project to try out game development and Rust, but here are features I would add if I return to the project:
- State management system
- Pause state
- Game Over state
- Next tetrinome queue
- Sounds & music