https://github.com/whoiscipher/tetris
Imersive Tetris Game built using c++ and raylib. Makefile added for automated build
https://github.com/whoiscipher/tetris
cpp game-development makefile raylib raylib-cpp tetris tetris-clone
Last synced: 3 months ago
JSON representation
Imersive Tetris Game built using c++ and raylib. Makefile added for automated build
- Host: GitHub
- URL: https://github.com/whoiscipher/tetris
- Owner: WhoisCipher
- Created: 2024-07-28T11:13:30.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-03-09T16:48:10.000Z (4 months ago)
- Last Synced: 2025-03-09T17:27:19.205Z (4 months ago)
- Topics: cpp, game-development, makefile, raylib, raylib-cpp, tetris, tetris-clone
- Language: C++
- Homepage:
- Size: 11.5 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tetris Game
A classic Tetris game built with C++ and raylib.


## Features
- Classic Tetris gameplay
- Score tracking
- Game over screen
- Sound effects# Tetrominoes
The game has 7 different tetrominoes that each have a distinct color. Each tetromino appears once every cycle and randomly each time

## Installation
### Windows
**Download and run the setup:**
Download the game installer from [this link](TetrisSetup.exe) and run the setup to install the game.### Linux
1. **Clone the repository:**
```sh
git clone https://github.com/WhoisCipher/Tetris.git
cd Tetris
```2. **Install raylib:**
Ensure raylib is installed on your device. Visit the [raylib installation guide](https://github.com/raysan5/raylib) for detailed instructions.3. **Build the project:**
```sh
make
```4. **Run the game:**
```sh
./tetris
```### macOS
1. **Clone the repository:**
```sh
git clone https://github.com/WhoisCipher/Tetris.git
cd Tetris
```2. **Install raylib:**
Make sure raylib is installed on your device. Follow the [raylib installation guide](https://github.com/raysan5/raylib) for macOS-specific instructions.3. **Build the project:**
```sh
make
```4. **Run the game:**
```sh
./tetris
```# Controls
- Left Arrow: Move piece left
- Right Arrow: Move piece right
- Up Arrow: Rotate piece
- Down Arrow: Speed up piece
- Space: Drop piece## Contact ✉️
For any questions or feedback, please reach out to me at [[email protected]](mailto:[email protected]).