diff options
author | Oxore <oxore@protonmail.com> | 2018-07-09 03:53:22 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2018-07-09 03:53:22 +0300 |
commit | a3eaa5d7cd4bdb5cf1977c4cd4e8b4dd28e737ea (patch) | |
tree | 16b61f03e1dab98aa9aebcf8a0a37f43c673654d /README.md | |
parent | a673d86621054f18b25add5878efab6fa035e352 (diff) |
Introduce wall kick, refactor
Refactor controls a little: move key repeat clocks reset to the keys
handler.
Refactor field: rename rotation function (add "clockwise" postfix).
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -22,6 +22,12 @@ make all ``` File named "tetris" is the final binary. Run it. Hit *S* to start game. +- `s` - start a game. +- `Left arrow` - move shape left. +- `Right arrow` - move shape right. +- `Up arrow` - rotate shape clockwise. +- `Space` - hard drop. + Cleaning: ``` make clean @@ -36,7 +42,7 @@ Look at the [repo releases](https://github.com/Oxore/tetris-csfml/releases)! Now - Add screenshots and gameplay gif - [x] Levels speed and scores calibration - [x] Scoring system as in Tetris for NES which is described on [this page](https://tetris.wiki/Scoring) -- [Wall kick](https://tetris.wiki/Wall_kick) +- [x] [Wall kick](https://tetris.wiki/Wall_kick). Implemented order: left wall, right wall, floor - [x] Hard drop - [x] Phantom shape - Table of records |