Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tanguy-fgl/tetris
A reproduction of Tetris written in C++ using the SFML library
https://github.com/tanguy-fgl/tetris
opengl sfml sfml-game tetris tetris-clone
Last synced: 27 days ago
JSON representation
A reproduction of Tetris written in C++ using the SFML library
- Host: GitHub
- URL: https://github.com/tanguy-fgl/tetris
- Owner: tanguy-fgl
- Created: 2024-11-27T11:41:51.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-12-02T10:06:57.000Z (about 1 month ago)
- Last Synced: 2024-12-02T10:37:05.444Z (about 1 month ago)
- Topics: opengl, sfml, sfml-game, tetris, tetris-clone
- Language: C++
- Homepage:
- Size: 9.54 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Tetris
===
A Tetris clone written in C++ using SFML library## ๐พInstallation
| OS | Download |
| --- | --- |
| Windows 64bit | [download](https://github.com/tanguy-fgl/Tetris/releases/latest) |### Tested Platform
- software
```
OS: Windows 11 23H2 (22631.4460)
```
- hardware
```
CPU: Intel (R) Core i5-8500 3.00 GHz
GPU: Intel (R) UHD Graphics 630 (8 GB)
RAM: 16 GB
```## ๐ฎControls
- In a party
```
UP: changes the orientation of the block
LEFT/RIGHT: moves the block to the left or to the right
DOWN: moves down the block faster
```
- When a game is finished
```
R: starts a new game
```## ๐จHow to build
- IDE
```
CodeBlocks 20.03
```
- Libraries
```
SFML 2.6.2
- sfml-graphics-s
- sfml-window-s
- sfml-audio-s
- sfml-system-s
- winmm
- opengl32
- freetype
- gdi32
- openal32
- flac
- vorbisenc
- vorbisfile
- vorbis
- ogg
```
- Compiler
```
WinLibs MSVCRT 13.1.0 (64-bit)
```## ๐Directory Hierarchy
```
|โโ .gitattributes
|โโ .gitignore
|โโ Arial.ttf
|โโ audio
| |โโ music.ogg
|โโ bin
| |โโ Debug
| |โโ Tetris.exe
| |โโ Release
| |โโ Arial.ttf
| |โโ audio
| |โโ music.ogg
| |โโ images
| |โโ background.png
| |โโ frame.png
| |โโ gameover.jpg
| |โโ Thumbs.db
| |โโ tiles.png
| |โโ openal32.dll
| |โโ Tetris.exe
| |โโ tetris.png
| |โโ Thumbs.db
|โโ icon.rc
|โโ images
| |โโ background.png
| |โโ frame.png
| |โโ gameover.jpg
| |โโ Thumbs.db
| |โโ tiles.png
|โโ main.cpp
|โโ obj
| |โโ Debug
| |โโ icon.res
| |โโ main.o
| |โโ Release
| |โโ icon.res
| |โโ main.o
|โโ openal32.dll
|โโ sfml-audio-2.dll
|โโ sfml-audio-d-2.dll
|โโ sfml-graphics-2.dll
|โโ sfml-graphics-d-2.dll
|โโ sfml-network-2.dll
|โโ sfml-network-d-2.dll
|โโ sfml-system-2.dll
|โโ sfml-system-d-2.dll
|โโ sfml-window-2.dll
|โโ sfml-window-d-2.dll
|โโ Tetris.cbp
|โโ Tetris.depend
|โโ tetris.ico
|โโ Tetris.layout
|โโ tetris.png
|โโ Thumbs.db
```## ๐References
- [Let's make 16 games in C++: TETRIS](https://www.youtube.com/watch?v=zH_omFPqMO4)
- [SFML 2.6.2 documentation](https://www.sfml-dev.org/documentation/2.6.2/topics.php)
## ๐License## โ๏ธCiting
If you use my Tetris clone game, please add the following information to your blog / video description.
```
Game by Tanguy Frageul - Play it for free: https://tanguy-fgl.github.io/
```