This is a simple Tetris game implemented in C, designed to be played on Windows. It is built using CMake and consists of a single source file.
To run this game, you need to have the following installed on your system:
- Windows operating system
- CMake
- Clone this repository to your local machine.
- Open a command prompt and navigate to the project directory.
- Run the following commands to build the game:
cmake . cmake --build .
- Once the build is successful, you can run the game by executing the generated executable file.
The game can be played using the following controls:
- Left Arrow: Move the current piece to the left
- Right Arrow: Move the current piece to the right
- Down Arrow: Move the current piece down faster
- Up Arrow: Rotate the current piece
tetris --help
: Display the help menu
Contributions are welcome! If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.
This project is licensed under the MIT License.