https://github.com/bigmat18/snake-sdl2
Basic Snake game makes with C and SDL2 library to learn the basics of SDL2 programming.
https://github.com/bigmat18/snake-sdl2
c game-development makefile sdl sdl2 sdl2-ttf snake-game
Last synced: 20 days ago
JSON representation
Basic Snake game makes with C and SDL2 library to learn the basics of SDL2 programming.
- Host: GitHub
- URL: https://github.com/bigmat18/snake-sdl2
- Owner: bigmat18
- Created: 2022-11-04T16:31:33.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-11-06T00:45:15.000Z (over 3 years ago)
- Last Synced: 2026-06-04T06:23:32.932Z (about 1 month ago)
- Topics: c, game-development, makefile, sdl, sdl2, sdl2-ttf, snake-game
- Language: C
- Homepage:
- Size: 403 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Snake
### Description
Snake game makes with C and SDL2 library to learn the basics of SDL2 programming. The game is a basic version of snake game,
you can catch the food and view the score on top, when you crush with yourself the game ends.
### Installation
To play you need to have sdl2 and sdl2-ttf library and pkg-config tools to linked him. Execute this command on MACOS:
```
brew install sdl2
brew install sdl2-ttf
brew install pkg-config
```
After this you can run the code with this command:
```
./build/bebug/play
```
### Game Image