Snake game in c with no dependencies (except for the standard library)
 
 
 
Go to file
Nakidai a67704ebff Add flag about c standard 2024-02-23 17:13:02 +03:00
include Now game clears cursor at exit on ^C 2023-12-17 03:07:48 +03:00
src Remove getchInit from input.c 2023-12-17 03:10:52 +03:00
.gitignore Add csnake to gitignore 2023-11-25 00:53:51 +03:00
CMakeLists.txt Now game clears cursor at exit on ^C 2023-12-17 03:07:48 +03:00
LICENSE Edit year of license ._. 2023-11-25 01:29:19 +03:00
Makefile Add flag about c standard 2024-02-23 17:13:02 +03:00
README.md Prepare for release 2023-11-25 00:52:02 +03:00
configure Now you can configurate sleep time 2023-11-30 18:05:51 +03:00

README.md

csnake

Snakegame written in C.

Controls

  • WASD - movement
  • P - Pause

Supported platforms

Was tested on:

  • FreeBSD 13.2
  • Windows 11 (both MinGW and MSVC)
  • Linux 6.5.8 (glibc 2.38-7)

Building

  • On *nix-like systems you can use GNU Make with configure script providing arguments through environment variables or CMake
  • On Windows you can use CMake