Skip to content

ZTRIS is a TUI tetris clone created in GO using the tview API to render the TUI

Notifications You must be signed in to change notification settings

Party14534/ZTRIS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZTRIS

About ZTRIS

ZTRIS is a TUI tetris clone created in GO using the tview API to render the TUI

How to run ZTRIS

  1. Clone this repo
  2. Ensure you have the most recent version of go installed
  3. In your terminal move into ZTRIS' directory
  4. Use the go get command to install the required dependencies
go get
  1. Build the project using the go build command
go build ztris.go
  1. Run the program from the project's directory
./ztris
  1. Have fun!

Controls

  • Move the tetronimo left and right using the arrow keys
  • Drop tetronimo using the Spacebar
  • Make the tetronimo fall faster with the down arrow key
  • Rotate the tetronimo left using the z key
  • Rotate the tetronimo right using the x key

TODO

  • Add a player score to track progress
  • Add a level system to make the blocks fall faster every level
  • Add a fastfall system to allow blocks to fall if the user holds the down arrow

About

ZTRIS is a TUI tetris clone created in GO using the tview API to render the TUI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages