https://github.com/zain-ul-din/tetris_game
Tetris game using c++ SFML lib
https://github.com/zain-ul-din/tetris_game
Last synced: 6 months ago
JSON representation
Tetris game using c++ SFML lib
- Host: GitHub
- URL: https://github.com/zain-ul-din/tetris_game
- Owner: Zain-ul-din
- License: mit
- Created: 2022-12-09T17:37:49.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-05-29T00:44:06.000Z (over 1 year ago)
- Last Synced: 2025-03-29T04:47:07.817Z (7 months ago)
- Language: C++
- Size: 56.8 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Tetris Game in C++
This Tetris game is implemented using procedural programming in C++ and utilizes the SFML library for rendering graphics on the screen.

### How to run
Before running the game, ensure you have the SFML library set up on your system. Follow the SFML setup guide for instructions tailored to your operating system.
[sfml setup guide](https://www.sfml-dev.org/tutorials/2.5/start-vc.php)
> Windows:-
```
run game.exe
# OR1. Open Terminal here
2. Run _ g++ cli.cpp -o setup
3. ./setup.exe
```> Linux:-
```
1. Open Terminal here
2. g++ -c main.cpp
3. g++ main.o -o sfml-app -lsfml-graphics -lsfml-window -lsfml-system
4. ./sfml-app
```#
Happy Coding ♥