Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/kerciu/cpp-tetris-clone

๐Ÿ‘พ๐Ÿ•น๏ธ Tetris clone made in C++ ๐Ÿ‘จโ€๐Ÿ’ป๐ŸŽฒ A simple clone of popular game named Tetris ๐ŸŸฆ๐ŸŸฉ๐ŸŸฅ 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: about 2 months ago
JSON representation

๐Ÿ‘พ๐Ÿ•น๏ธ Tetris clone made in C++ ๐Ÿ‘จโ€๐Ÿ’ป๐ŸŽฒ A simple clone of popular game named Tetris ๐ŸŸฆ๐ŸŸฉ๐ŸŸฅ using C++ programming language ๐Ÿ‘จโ€๐Ÿ’ป and SFML graphic library. ๐Ÿก

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


Tetris Clone 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 [[email protected]](mailto:[email protected])

For issues, please open a GitHub Issue. ๐Ÿš€

---