An immersive classic revisited. Navigate the grid, grow your snake, and challenge your reflexes. Built in C with a touch of modern elegance.
bin
: Contains compiled files and the game executable.src
: Source code of the game.
To render the graphical interface, you'll need the MLV library.
- Install the
build-essential
meta package:
Provides the compiler and other essential tools.sudo apt install build-essential
- Download the MLV Library Source Code:
Use the link below to fetch the source: here
- Use
make snake
to generate an executable namedgame
. make clean
will clear the content of thebin/
directory.
To start the game, run : ./game
Available Arguments:
-h
or--help
: Displays the user manual.-i
or--input
: Specifies the grid to use, you can create a custom map.-d
or--debug
: Debug mode, displays game information in the c
To play, use the keyboard arrows to move the snake. The objective is to collect all the golden apples. Good luck!