Here are all the main informations about the project.
This project is more a private project for me to learn and practice C++ in a project. It will not be released or published at all.
It is the Tetris game hopefully everyone knows but with a little twist in the mechanics.
Once a line is completed all single characters that have no other character below are falling down.
This way the player can create a chain of effects which could make a nearly lost game almost empty again.
The speed increase with the score.
The project uses only libraries that are available on the system itself. No third party libraries will be used.
In this section is described how to start using this project to develop it and what is required to do so.
To edit and build the project Visual Studio on Windows is required currently because of the solution file.
To clean the project from Visual Studio temporary files execute Clean.bat.
- Clone the repo
git clone https://github.com/VRSimDude/Tetris.git- open the project
open Tetris.sln
To play the game built it in Visual Studio or start it directly from Visual Studio.
You can also start the game without Visual Studio by download the executables for windows here:
v1.0.0 Win64
v1.0.0 Win32
The size of the play area can be changed by adding one or two values to the command or the shortcut as seen here:
The first value is the width of the play area and the second is the height. You can also enter no value or just the width. The default values are 16 width and 32 height.
The width has a min value of 9 and max of 32. The height has a min value of 11 and max of 64. All values out of this are cutted.
Important is o change the size of the console in order to see the game correctly.
To change that right click at the console window menu and click Properties:
And then change the Width and Height of the Screen Buffer Size and Window Size:
The width must be the given width (or default 16) plus additional 12 for the UI.
The height must be the given height (or default 32) plus additional 2 for better display.
For a better experience choose a Font that displays the characters more squared like the font Raster Fonts with a Size of 8x8.
That way it looks like in the screenshots.
Here is described how you use the projects features.
Move the current Tetromino left and right with the left and right arrow key.
Move it on block down with the down arrow key.
And move it immediately to the bottom with the up arrow key.
Start or restart the game with Return.
Exit the game with Escape.
Contributions to this project can be done by writing me.
Distributed under the MIT License License. See LICENSE for more information.
mail: contact@marcfriedrich.com
project link: https://github.com/VRSimDude/Tetris




