Skip to content

sandov/snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake

Implementing the classic snake game in C using the SDL2 library. Just a prototype. I'm not even sure if I'll implement it completely.

Current state:

screenshot

  • The snake moves.
  • User can change movement direction using the arrow keys.
  • Game quits when the snake goes out of screen boundaries.

How to build and run game on Ubuntu

# apt install gcc git make libsdl2-dev
$ git clone https://github.com/sandov/snake
$ cd snake/
$ make
$ bin/snake

About

Snake game in SDL2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published