Skip to content
My rendition of the classic tetris.
C++ Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Fixed check methods Dec 2, 2019
.gitignore Ignore .vscode files Oct 10, 2019
LICENSE Create LICENSE Dec 2, 2019
makefile Small interface tweaks Oct 26, 2019
screen Update screen Nov 4, 2019


My ascii/cli rendition of tetris. From Wikipedia:

The objective of [tetris] is to manipulate tetriminos, by moving each one sideways and/or rotating by quarter-turns, so that they form a solid horizontal line without gaps



If on linux, install libncurses-dev as dependency.

git clone '' && cd tetris
make  # if on linux, run 'make ubuntucompile' instead for proper characters
sudo make install


brew tap k-vernooy/tap
brew install tetris



Use the arrow keys to control the falling blocks:

  • to rotate the falling block
  • to move right
  • to move left
  • to soft drop
  • SPACE to hard drop
  • CTRL+C at any time to quit the game
You can’t perform that action at this time.