Calculate deltatime between frame and cap max fps at 30
Add down enum
Add case down for move function
Add syncPiece function

Sync piece with map
Update isValidMove to check if piece is outside of map in Y
Add collision check in falling state
Add game class
Add game files to project
Add main code to game class
Update main to call game loop for all game logic
Split main loop into mutliple functions
Remove unwanted space
Introduce game state in the game loop
Add check if rows are complete after piece has fallen
Add check if row complete in main loop
Change setPosition to setPos
Move game loop to always do pollevent
Add clearRow function

Clear a row of blocks and return them
Add freeBlock function

Put the block back to resource pool
Add freeBlocks function

Clear  many blocks at the same time
Clear a row on completion