Simple Tetris clone made using SFML, therefore: SFMLris ;)
Keys:
- P - pause/unpause game
- M - toggle music on/off
- left/right arrows - move block left/right
- down arrow - drop block down
- up arrow - rotate block clockwise
Some time ago I've read nice article (found here) stating that, each aspiring game developer should start from creating Tetris like game. Reasons for it are as follow:
- game is simple so it can be created in relatively quickly (it took me couple of months in so called free time though…)
- it requires usage of game loop - mechanisms that is used in all more sophisticated products
- and lastly but not least: it’s just fun to do so ;)
I’ve created similar clone some time ago in the past but:
- I thought that I’ve lost the source code
- I’ve found it... and was really regretting that it wasn't lost in the first place ;) (as it was created when I was still pretty green)
Looking at it I’ve wondered if my programming skills improved since that time. Therefore, I’ve created new version from scratch.
Main mechanic was more or less based on this guideline
Sadly I’m not music composer or art creator, so almost all of media used in this game are from external sites:
- main music theme: twister-tetris created by 'Poinl'
- level up sound created by 'Bart'
- all other sounds created by 'SubspaceAudio'
- game font found on 'dafont'
Tetrominos texture I've created myself (and I'm proud of it ;) )
This project is licensed under the MIT License - see the LICENSE file for details