Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance 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

Contributors

AltStyle によって変換されたページ (->オリジナル) /