A game made inspired by the classic Tetris
Built with the SFML C++ library, which is necessary for running the game.
With SFML installed, run the run.py script to open the game.
The right and left key move the fallling piece accordingly, the up key rotates the falling piece, the down key makes the falling piece fall slightly faster
For every 10 lines cleared during a game, the level is increased by 1. Higher levels have higher falling speeds for the falling piece (maximum speed is reached at level 7)
It is easy to change:
- the game's dimentions by changing the constant 'L';
- the number of lines necessery to clear for a level up by changing the constant 'LinesPerLevel';
- the score points per line set in the 'scoringSystem' function;
- the relationship between level and falling speed int the 'levelSystem' function.