Skip to content

a CLI-based Tetris build using ratatui-rs, currently "very-very" work in progress

Notifications You must be signed in to change notification settings

FelixFern/tetrs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tetrs - a very-very work in progress project

A command-line interface (CLI) based Tetris game built with Rust and ratatui.rs.

image

Table of Contents

Introduction

This project is a CLI-based implementation of the classic Tetris game, developed using Rust and the ratatui.rs library. ratatui.rs is a library for building rich terminal user interfaces. The main objective of this project is for me to learn more about how to write code in Rust programming, as this is my first ever Rust-only repository

Features (WORK IN PROGRESS)

  • Classic Tetris gameplay
  • Colorful and responsive terminal UI
  • High score tracking

Installation

Prerequisites

Steps

  1. Clone the repository:
    git clone https://github.com/FelixFern/tetrs
    cd tetrs
  2. Build the project:
    cargo build 
  3. Run the project:
    cargo run  
    

Controls

  • Left Arrow (move Tetris block one to the left)
  • Right Arrow (move Tetris block one to the right)
  • Q (quit the game)
  • Z (rotate Tetris block counter-clockwise)
  • X (rotate Tetris block clockwise)

About

a CLI-based Tetris build using ratatui-rs, currently "very-very" work in progress

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages