Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mohamedbassem/tetris

Tetris game implemented in c++ using OpenGl
https://github.com/mohamedbassem/tetris

Last synced: 5 days ago
JSON representation

Tetris game implemented in c++ using OpenGl

Awesome Lists containing this project

README

        

# 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
```bash
$ make
$ ./main
```