This is a replication of the famous game Tetris and is created in C++. This game uses the Tetris Guidelines for naming of variables and awarding points to the player. These guidelines can be found here or a summary can be found here.
I decieded to replicate Tetris as a way to expand my coding knowledge as well as to build a simple video game. I am interested in making video games and this is a nice way to get my feet in the water.
To install, run, and play this Tetris, download Tetris.zip. Unzip the file and run Tetris.exe. Alternatively, you can find all the files needed in the Release folder that is found in the same directory as this README.
While following a simple youtube tutorial I was able to implement the main functionality of Tetris. While the tutorial was helpful it stopped short of being a true game.
In order to complete this replica, I have added a point system. Using the guidelines mentione above the point system for clearing 1 to 4 lines was added.
In addition the game would only end if the player clicked the close button on the window. Thus a game over feature and a quit button were added to make the game feel more real.
This code follows the Google C++ Style Guide.
Thanks to FamTrinli on Youtube for giving me the idea and a great start. The background, play area frame, as well as the tile textures were provided by them. The score frame can be found here.