Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 989 Bytes

File metadata and controls

14 lines (9 loc) · 989 Bytes

Cnake

A simple snake game written in C, using ncurses, so it only runs on linux systems. It's my first programming project. I wanted to add more features to it, such as basic menus, logs that keep track of scores, but I kinda lost my interest in this project after a bit. Sometime I plan to continue learning C, but right now I have to focus on studies. <3

To compile the code yourself (using gcc): gcc cnake.c -lncurses

Make sure you have ncurses installed: sudo dnf install ncurses-base ncurses-devel ncurses-libs

Screenshot_20251128_214613 Screenshot_20251128_214749

In reality the game doesnt take up all the screen, instead it only uses the top-left part of it. That's something I will have to fix in the future