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

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.

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