https://github.com/kerciu/cpp-tetris-clone
Tetris Clone | Made using C++ programming language and SFML graphic library.
https://github.com/kerciu/cpp-tetris-clone
cpp game game-development gamedev gui object-oriented-programming sfml sfml-game sfml-graphics-library tetris tetris-clone ui-design
Last synced: 7 months ago
JSON representation
Tetris Clone | Made using C++ programming language and SFML graphic library.
- Host: GitHub
- URL: https://github.com/kerciu/cpp-tetris-clone
- Owner: Kerciu
- License: mit
- Created: 2024-07-30T08:27:24.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-20T16:26:19.000Z (over 1 year ago)
- Last Synced: 2025-05-30T09:58:08.534Z (8 months ago)
- Topics: cpp, game, game-development, gamedev, gui, object-oriented-programming, sfml, sfml-game, sfml-graphics-library, tetris, tetris-clone, ui-design
- Language: C++
- Homepage:
- Size: 42.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ๐ฎ๐น๏ธ Tetris Clone in C++ ๐พ
## ๐ Description
A simple clone of popular game named Tetris using C++ programming language and SFML graphic library. This project was made to learn fundamentals of game development and GUI mechanics in C++.
## ๐ฅ Installation
1. Clone the repository:
```sh
git clone https://github.com/Kerciu/tetris-clone.git
```
2. Navigate to the project **build** directory:
```sh
cd tetris-clone-main/build
```
3. Compile the project:
```sh
make
```
4. Run the application:
```sh
./tetris
```
## ๐ ๏ธ How to play
1. **Start the game**: Execute the compiled application as described in the Installation section.
2. **Controls**:
- **Up Arrow**: Rotate the Tetrimino.
- **Left / Right Arrows**: Move the Tetrimino left or right.
- **Down Arrow**: Speed up the fall of the Tetrimino.
3. **Objective**: The goal is to rotate and position the falling Tetriminoes to create and clear horizontal lines without gaps. As lines are cleared, the game progresses.
4. **Scoring**: Points are awarded for each line cleared and Tetrimino taken it's position after fall. The more lines cleared at once, the higher the score.
## ๐ผ๏ธ Screenshot
## ๐ Notes
- Music used for the game: [Tetris Theme [NO COPYRIGHT]](https://www.youtube.com/watch?v=Q7mcjjl_P3k)
- Sound effects used for the game: [Pixabay](https://pixabay.com/sound-effects/)
- Fortnite font used for the game: [Dafontfree](https://www.dafontfree.io/fortnite-font/)
## ๐ License
This project is licensed under the MIT License. See the [LICENCE](LICENCE) file for details. ๐
## ๐ฌ Contact
For questions, feedback, or support:
- **Author**: Kacper Gรณrski
- **LinkedIn**: [Kacper Gรณrski](https://www.linkedin.com/in/kacper-gorski-se)
- **Instagram**: [@kxcper.gorski](https://www.instagram.com/kxcper.gorski)
- **X**: [@Kerciuu](https://x.com/Kerciuu)
- **GitHub**: [Kerciu](https://github.com/Kerciu)
- **Support**: Email [kacper.gorski.contact@gmail.com](mailto:kacper.gorski.contact@gmail.com)
For issues, please open a GitHub Issue. ๐
---