Tetris game implemented in c++ using OpenGl
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
Main.cpp
Makefile
README.md

README.md

Tetris

A tetris game implemented in c++ using OpenGl.

Controls

  • Down Arrow : Moves the current piece right.
  • Right/Left Arrow : Moves the current piece horizontally.
  • Z/X : Rotates the current piece anticlockwise and clockwise respectively.
  • S : Starts the game.
  • R : Restarts the game when the game is over.
  • P : Pauses the game.

Note : It supports also vim key bindings. h, j & l are mapped to left, down and right respectively.

How to run it

$ make
$ ./main