Skip to content
/ cnake Public

Snake game implemented in C width raylib and vim motions for movement.

License

Notifications You must be signed in to change notification settings

mr-ema/cnake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cnake

Snake game implemented in C using the raylib library, with vim motions by default for movement.


Banner



Resources



Features

  • Basic Title Screen
  • Score tracking to keep track of the player's progress
  • Randomized food spawning
  • Snake grows longer when it eats food
  • Game over condition when the snake collides with the boundaries or itself
  • Options menu
  • Configurable controls at run-time [Options menu]
  • Configurable mode (slow - normal - fast - blazingly fast)


Demo

Demo



How To Build

Before you start, make sure you have the required dependencies for raylib installed. Refer to the official raylib - build and installation guide for instructions on setting up the necessary environment.

git clone --recurse-submodules https://github.com/mr-ema/cnake
cd cnake/
zig build


Acknowledgements

This game was developed using raylib, a simple and easy-to-use game development library. raylib provides a rich set of functionality and is well-suited for creating 2D games and interactive applications.

About

Snake game implemented in C width raylib and vim motions for movement.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published