Skip to content

alanparesys/GabeTheSnake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

*I don't have a phone for the moment, so I can't send it to Gitlab !

Gabe The Snake

Gabe The Snake

Welcome to the source code for Gabe The Snake.
Game based on Half Life with numerous references to Gabe Newell, creator of Valve Software.

How to Play ?

Arrows

To go up, use the up arrow key. ↑
To go down, use the down arrow key. ↓
To go left, use the left arrow key. ←
To go right, use the right arrow key. →

Goal

Gabe The Snake
Arrows
The goal is simple: find the exit in Half Life 3 while avoiding the monsters in your path.
You start with a default size of 3.
There are two types of monsters {crabs & zombies}
If you touch a monster, you will die and your level resets to 0.
Each time you collect an item, your score increases by +1 and your speed increases.
Your goal is simple: try to get the best score and share it with the school!

Edit

To change the sound, go to Code/src/launchgame.c and change the number :
int currentTrack = (your numbers); numbers between 0 and 7

and if you want to start the game with a longer body, change the size here: state->snakeLen = 3;

About

Made in C with Raylib library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published