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

https://github.com/disjukr/tetris

simple cli tetris game written in cpp for study purpose
https://github.com/disjukr/tetris

Last synced: 2 months ago
JSON representation

simple cli tetris game written in cpp for study purpose

Awesome Lists containing this project

README

        

Tetris
======
simple cli tetris game written in cpp for study purpose.

How to build
============
just run `make` in mac.

maybe working on linux too but not tested for now.

in windows, please compile on visual studio manually.
i'll write the `build.bat` soon.

How to play(control)
====================
* Rotate piece
* to clockwise: `Up Arrow`, `W`
* to counter clockwise: `X`, `Q`
* Move piece
* to left: `Left Arrow`, `A`
* to right: `Right Arrow`, `D`
* Drop piece
* soft: `Down Arrow`, `S`
* hard: `Space Bar`, `F`
* hard(no attach): `C`, `R`
* Hold piece: `Z`, `E`