https://github.com/jddev0/consolesnake
A snake game for Console (Linux, Windows)
https://github.com/jddev0/consolesnake
cli command-line console console-game game snake snake-game
Last synced: about 1 year ago
JSON representation
A snake game for Console (Linux, Windows)
- Host: GitHub
- URL: https://github.com/jddev0/consolesnake
- Owner: JDDev0
- License: mit
- Created: 2021-04-18T01:32:05.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-11-05T14:36:28.000Z (over 1 year ago)
- Last Synced: 2025-01-30T04:43:37.564Z (about 1 year ago)
- Topics: cli, command-line, console, console-game, game, snake, snake-game
- Language: C
- Homepage:
- Size: 49.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ConsoleSnake
A snake game for Console (Linux, Windows)
## Gameplay

## Compile & Run
### Linux
- Required packages: `cmake`, `make`, `gcc`, `libncurses-dev`
Compile & Run
1. `cmake -DCMAKE_BUILD_TYPE=Release -S . -B release`
2. `cmake --build release`
3. `release/Snake`
### Windows
Required programs:
1. Install cmake and add it to $PATH
2. Install MinGW and add it to $PATH
Compile & Run
1. `cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release -S . -B release`
2. `cmake --build release`
3. Go into the `release` folder and double click `Snake.exe`