Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 600 Bytes

README.md

File metadata and controls

17 lines (14 loc) · 600 Bytes

C-Snake

A basic clone of the snake game written in C and using Raylib and implemented using a linked list for the snake's body and movement.

Building and running the project

This project requires you have Raylib installed on you system. You can have a look at setting it up here: https://github.com/raysan5/raylib

To build the project, open a terminal in the root of the project and enter the following:

cd src
make
./main  # To run the game

Controls

  • Arrow keys to move the snake
  • P to play again
  • G to show/hide the grid display