Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/mohamedbassem/tetris
- Owner: MohamedBassem
- Created: 2014-10-24T22:11:50.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-10-24T22:23:51.000Z (about 10 years ago)
- Last Synced: 2024-10-12T04:13:05.981Z (about 1 month ago)
- Language: C++
- Size: 141 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```