forked from reese/just-plain-tetris
No description
.gitignore | ||
beep.wav | ||
LICENSE | ||
Makefile | ||
preview.png | ||
README.md | ||
tetris.c |
a bog-standard tetris clone based on the one in raylib-examples
i spent a while looking for a gimmick-free tetris implementation because i'm hooked and want to play it when i'm bored. the problem is that none of them seem to work the way i want them to with standard features (like swap storage) AND without having some sort of gimmick that detracts from the classic experience (like Tetris 99 which is multiplayer-only)
controls
R | Rotate piece |
←/→ | Move left/right |
S/↓ | Move down |
Tab | Swap with storage |
P | Pause |
Escape | Quit |
M | Mute SFX |
to do
- balanced pseudorandom piece generation
- no more than 2 of a kind in a queue of length 5, for example
- compare
[0][0].color
to tell what "kind" it is
- compare
- no more than 2 of a kind in a queue of length 5, for example
- gamepad input
- fix graphics
- readability