Skip to content

Yet another Tetris implementation, written in C with a Curses frontend.

Notifications You must be signed in to change notification settings

brandon1024/tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tetris

Yet another Tetris implementation, written in C with a Curses frontend.

Building and Installing

By default, tetris is installed into your user's ~/bin directory. To install, from the project root run:

$ mkdir build
$ cd build
$ cmake ..
$ make install

$ ~/bin/tetris

For a global install, run from the project root:

$ mkdir build
$ cd build
$ cmake -DCMAKE_INSTALL_PREFIX=/usr/local ..
$ make install

$ tetris

Usage

Want to play?

$ tetris

Controls

  • Move tetriminos using the ASD or arrow keys: or dsa
  • Rotate tetriminos with the spacebar:
  • Drop the current tetrimino by pressing the Enter key:
  • Pause the game by pressing 'p' key: p
  • Quit the game by pressing the 'q' key: q

About

Yet another Tetris implementation, written in C with a Curses frontend.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published