Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bartekpacia/snake
https://github.com/bartekpacia/snake
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/bartekpacia/snake
- Owner: bartekpacia
- License: mit
- Created: 2021-12-27T14:43:46.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-12-01T23:07:05.000Z (about 1 year ago)
- Last Synced: 2024-11-30T21:26:32.954Z (about 1 month ago)
- Language: C++
- Homepage:
- Size: 720 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# snake
Clone of a popular snake game.
Created for _Programming I_ and _Programming II_ courses at Silesian University
of Technology.## Building
1. Clone the repository.
2. Download SFML using `install_sfml` script:```
$ ./install_sfml
```3. Build the project using `make`:
```
$ make
```## Running
To run the game:
```
$ ./snake
```A cool feature is that you can modify snake's speed and grid size by passing
arguments:```
$ ./snake --width 64 --height 64 --interval 100 # snake moves every 100 ms
```To see help:
```
$ snake --help
```## Contributing
Feel free to raise Issues and create Pull Requests.