https://github.com/krc2000/snakegame
Snake game written in c++ SFML
https://github.com/krc2000/snakegame
Last synced: about 1 year ago
JSON representation
Snake game written in c++ SFML
- Host: GitHub
- URL: https://github.com/krc2000/snakegame
- Owner: KRC2000
- License: mit
- Created: 2023-07-26T15:04:15.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-08-09T15:51:23.000Z (almost 3 years ago)
- Last Synced: 2025-03-24T06:11:31.754Z (over 1 year ago)
- Language: C++
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SnakeGame
Snake game written on c++ using SFML

# Lore
Although the game bears the name "SnakeGame," it revolves around a charming caterpillar—a ravenously hungry one at that. Its insatiable appetite? Apples. Your task? Propel it towards victory. Demonstrate to this little creature that, in the face of even the most formidable challenges life hurls its way, triumph remains achievable. It matters not that it finds itself ensnared within the confines of a box, unable to traverse diagonally. For there exists a singular focus—a beacon of joy—apples. And with a heart full of determination, our caterpillar friend shall seize those apples, whatever the cost. Let the journey evoke a symphony of emotions, revealing the resilience that beats within its humble form.
# How to play
## Linux
- Download latest release (currently "[Apple frenzy](https://github.com/KRC2000/SnakeGame/releases/tag/v1.0)")
- Unpack archive
- Run SnakeGame in terminal ( by default it's going to be a 5x5 field, with speed and zoom set to 2 ):
> `./SnakeGame`
- You can set the size of the game field, zoom and speed of the snake by passing parameters to the executable( creating a game with the field size of 10x15, 2.5x snake speed and zoom of 3 ):
> `./SnakeGame -w 10 -h 15 -z 3 -s 2.5`
## Windows
TODO