Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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. ๐ก
- Host: GitHub
- URL: https://github.com/kerciu/cpp-tetris-clone
- Owner: Kerciu
- License: mit
- Created: 2024-07-30T08:27:24.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-09-20T16:26:19.000Z (4 months ago)
- Last Synced: 2024-11-15T11:13:47.918Z (about 2 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 [[email protected]](mailto:[email protected])For issues, please open a GitHub Issue. ๐
---