A simple tetris game implemented in C using SDL 2.x. This is just a toy project to play with and learn SDL 2.x.
-
Install SDL 2.x (www.libsdl.org) in UNIX style; something like
./configure && make && make install
.On OSX, you may use homebrew.
Also install:
-
make
to createtetris_toy
-
./tetris_toy
-
Move tetromino with WASD keys or arrow keys.
-
Press
spacebar
for hard Tetromino drop. -
Press
r
to reset. -
Press
esc
to quit.
- Add wall kick
- Implement any other interesting mechanics listed in http://tetrisconcept.net/wiki/Main_Page
MIT.