Skip to content

An implementation of Classic Tetris that runs in your console window.

Notifications You must be signed in to change notification settings

antnxv/Command-Line-Tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🕹 Command Line Tetris 🎮

An implementation of Classic Tetris that runs in your console window.

preview

Dependencies

  • gcc
  • make
  • ncurses-dev (ncurses.h)
  • pthread (pthread.h)
  • Permission to write file (stores highscore)

Instructions

make

Builds tetris.out executable. If make is not available, see Makefile for compile steps

./tetris.out

Launches a game of Tetris.

Gameplay

  • Controls
    • W / Up Arrow: Rotate Piece Clockwise
    • A / Left Arrow: Move Piece Left
    • D / Right Arrow: Move Piece Right
    • S / Down Arrow: Soft Drop
    • Spacebar: Hard Drop
    • Q: Quit
  • Endless
    • No implemented final level or ending (aside from loss)
  • Highscore
    • Saves highscore locally to user.dat

About

An implementation of Classic Tetris that runs in your console window.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published