Skip to content

AngusGMorrison/tetrust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TETRUST

A game of Tetrust

A Rust implementation of Tetris – in your terminal!

Tetrust uses minimal dependencies, but I roped in Ratatui and crossterm to avoid getting bogged down in the specifics of different terminals.

Gameplay Features

This isn't intended to be a one-for-one clone of any particular Tetris release. It implements my own take the game, often pulling details from memory or just busking it.

  • All seven classic block types
  • Blocks fall under gravity
  • Left, right and downward movement
  • Four rotation states for all blocks
  • Clearance of completed lines
  • Scoring
  • Acceleration of gravity as points accumulate
  • Next block preview
  • Game over screen

Who (or What) Did What?

Task Angus Claude
Project architecture
Game logic
Rotation system (including manual implementations of I, J and O blocks)
Rotations of L, S, T and Z blocks
Unit tests
README (including en dash use)

Installation

git clone https://github.com/AngusGMorrison/tetrust.git
cd tetrust
cargo run

About

A Rust-based, Tetris-like block-stacking game in your terminal.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages