Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hashirkhan21/tetris
A Tetris Game in C++ using SFML Graphics
https://github.com/hashirkhan21/tetris
2d-game cpp sfml sfml-game tetris
Last synced: 20 days ago
JSON representation
A Tetris Game in C++ using SFML Graphics
- Host: GitHub
- URL: https://github.com/hashirkhan21/tetris
- Owner: hashirkhan21
- Created: 2024-05-26T15:01:19.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-05-26T15:16:33.000Z (7 months ago)
- Last Synced: 2024-11-21T08:21:39.550Z (about 1 month ago)
- Topics: 2d-game, cpp, sfml, sfml-game, tetris
- Language: C++
- Homepage:
- Size: 1.03 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tetris
A Tetris Game in C++ using SFML GraphicsEXAMPLE
![image](https://github.com/hashirkhan21/tetris/assets/94777942/fd043050-2e77-417c-ad75-3fe32cd73321)To compile the game:
g++ -c main.cpp -o main.o
g++ main.o -o my_program -lsfml-graphics -lsfml-window -lsfml-systemTo run it:
./my_program