Skip to content

Block breaking game implementation in Rust's ggez and quicksilver game engines

Notifications You must be signed in to change notification settings

vinceniko/tetrust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tetrust

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.

preview

Running

Desktop

  1. git clone the repo
  2. Install rust
  3. cargo run -p tetrust-ggez or cargo run -p tetrust-quicksilver

Web

  1. Install cargo web and run cargo web start -p tetrust-quicksilver
  2. Navigate to output address in browser

Controls

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

Current Features

  • Basic gameplay
    • Tetrinome translations
    • Tetrinome rotations
    • Line clearings
  • Wall kicks
  • Fancy Animations
    • Line clearings
    • Instant drops
  • Shadow piece
  • Instant drops

Potential Future Features

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

About

Block breaking game implementation in Rust's ggez and quicksilver game engines

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages