Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/17xr/retrosnake
Retro Snake game made using C++ and Raylib
https://github.com/17xr/retrosnake
cplusplus game game-development games raylib raylib-c raylib-cpp
Last synced: 23 days ago
JSON representation
Retro Snake game made using C++ and Raylib
- Host: GitHub
- URL: https://github.com/17xr/retrosnake
- Owner: 17xr
- License: mit
- Created: 2024-07-25T19:00:27.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-07-25T19:03:28.000Z (3 months ago)
- Last Synced: 2024-09-29T12:22:59.890Z (about 1 month ago)
- Topics: cplusplus, game, game-development, games, raylib, raylib-c, raylib-cpp
- Language: C++
- Homepage:
- Size: 75.2 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Retro Snake Game
A redesigned Retro Snake game implemented in C++ with a visually appealing GUI. It is designed to be easy to understand and play, while providing an enjoyable retro gaming experience.## Features
- **Classic Gameplay:** Navigate the snake around the screen to collect food and grow longer.
- **Beautiful GUI:** Retro-themed graphics with smooth animations and a user-friendly interface.
- **Simple Controls:** Use arrow keys or WASD keys to control the snake's movement.
- **Score Tracking:** Keep track of your score and try to beat it.## Getting Started
### Prerequisites
To build and run the Retro Snake Game, you need:
- A C++ compiler (e.g., g++, clang++).
- CMake (for building the project)
- Raylib (for rendering the game).### Installation
1. **Install Dependencies:**
- Check the official website for how to install [Raylib](https://www.raylib.com/#supported-platforms).
2. **Clone the Repository:**
```
git clone https://github.com/17xr/RetroSnake.git
cd retro-snake-game
```### Building the Project
1. **Create a Build Directory:**
```
mkdir build
cd build
```
2. **Generate Build Files with CMake:**
```
cmake ..
```
3. **Compile the Project:**
```
make
```## Run the game
Once the build process is complete, you can run the game with:
```
./retro_snake
```## Gameplay
- **Objective:** Guide the snake to eat food and grow as long as possible without running into walls or itself.
- **Controls:** Use WASD keys to change the direction of the snake.## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.