An open API service indexing awesome lists of open source software.

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

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.

![screen_shot](https://user-images.githubusercontent.com/78583049/206762698-93b4da5d-864f-4346-94be-3a36436203b9.png)

### 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

# OR

1. 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 ♥