Skip to content

Commit

Permalink
readme updated, Bittboy's key mapping changed
Browse files Browse the repository at this point in the history
  • Loading branch information
szymor committed Sep 21, 2019
1 parent 267399c commit 6478c39
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,21 @@ yet another tetris klone in action
- arcade font by Yuji Adachi
- in-game music by Vomitron

### command line parameters
- --nosound - disable music and sound effects
- --randomcolors - random block colors
- --scale2x - 640x480 mode
- --scale3x - 960x720 mode
- --scale4x - 1280x960 mode
- --holdoff - disable HOLD function
- --grayblocks - dropped blocks get gray
- --ghostoff - disable the ghost piece
- --naiverng - naive random generation of next blocks
- --startlevel <num> - the higher level, the higher speed
- --nextblocks <num> - number of next blocks shown (6 is default)

### plans
- better scoring (T-spins, combos, etc.)
- optional easy spin implementation
- lock delay
- better wall kick
- better Bittboy's key mapping
6 changes: 3 additions & 3 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
#define KEY_LEFT SDLK_LEFT
#define KEY_RIGHT SDLK_RIGHT
#define KEY_SOFTDROP SDLK_DOWN
#define KEY_HARDDROP SDLK_LCTRL
#define KEY_ROTATE_CW SDLK_SPACE
#define KEY_ROTATE_CCW SDLK_LALT
#define KEY_HARDDROP SDLK_LALT
#define KEY_ROTATE_CW SDLK_LCTRL
#define KEY_ROTATE_CCW SDLK_SPACE
#define KEY_HOLD SDLK_LSHIFT
#define KEY_PAUSE SDLK_RETURN
#define KEY_QUIT SDLK_ESCAPE
Expand Down

0 comments on commit 6478c39

Please sign in to comment.