Skip to content

LogicCuteGuy/Snake-Game-in-C-pure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Snake Game

This is a simple snake game implemented in C. It can be compiled using either clang or gcc compilers. The game requires linking to the User32 library on Windows.

Compilation Instructions

Using clang:

clang snake.c -o snake.exe -lUser32

Using gcc:

gcc -std=c99 snake.c -o snake.exe -lUser32

image image image