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
- Host: GitHub
- URL: https://github.com/disjukr/tetris
- Owner: disjukr
- Created: 2013-11-17T09:35:20.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-01T23:40:10.000Z (over 11 years ago)
- Last Synced: 2025-01-26T15:28:07.600Z (4 months ago)
- Language: C++
- Size: 383 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`