https://github.com/tomasmark79/snake-in-shell-cpp
Snake in shell was my first C++ OOP language excercise. The game does not meet the requirements for modern OOP in C++.
https://github.com/tomasmark79/snake-in-shell-cpp
console enet game snake udp
Last synced: about 1 year ago
JSON representation
Snake in shell was my first C++ OOP language excercise. The game does not meet the requirements for modern OOP in C++.
- Host: GitHub
- URL: https://github.com/tomasmark79/snake-in-shell-cpp
- Owner: tomasmark79
- License: other
- Created: 2024-06-20T08:25:00.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-19T12:42:30.000Z (over 1 year ago)
- Last Synced: 2025-03-05T18:58:31.194Z (about 1 year ago)
- Topics: console, enet, game, snake, udp
- Language: C
- Homepage: https://digitalspace.name
- Size: 756 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Snake Forever
## Description
Snake Forever was my C++ language excercise and it is a game inspired by the classic Snake game. This game is happening in a text console and is drawing with ansi chars. The game supports singleplayer, multiplayer like a hotseat up to four players or network multiplayer via UDP up to two players.
## Dependencies
This project depends on the following libraries:
notice: both already included
Latest version can be downloaded from
- header-only eNet Library
downloadable from repo https://github.com/zpl-c/enet
- audio playback and capture library - miniaudio - v0.11.21 - 2023-11-15
downloadable from repo https://github.com/mackron/miniaudio
## Installation
Assuming you have CMake and a C++ compiler supporting C++17 installed, follow these steps for installation:
```bash
git clone https://github.com/tomasmark79/snake-in-shell-cpp.git
cd snake-in-shell-cpp
mkdir build
cd build
cmake ..
make
```
### Single Player

### Hot-Seat four players screenshot

### Internet multiplayer screenshot

## License
Snake Forever is open-source software, released under the unlicense.