Mohsin-Ul-Islam / snake-sdl

A simple implementation of classic Snake game in SDL2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

screenshots/snake.png

Snake

This is a simple snake game implementation in C using SDL2. I created this project to better understand C language, SDL and get familiar with procedural programming. The game's functionality is not complete yet, I work on this project in my free time.

Prerequisites

You need to have SDL2 installed on your system. For Debian/Ubuntu based distros.

sudo apt install libsdl2-dev libsdl2-mixer-dev

Running the project

To run the project, execute the below command.

make run

Credits

Music

The game's music is created by Not Jam and taken from https://not-jam.itch.io/not-jam-music-pack.

About

A simple implementation of classic Snake game in SDL2

License:GNU General Public License v3.0


Languages

Language:C 98.5%Language:Makefile 1.5%