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

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++.

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

image

### Hot-Seat four players screenshot

image

### Internet multiplayer screenshot

image
image

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