CLISnakeGame

CLISnakeGame Used AI

9 devlogs
11h 45m
•  Ship certified
Created by Nullskulls

Snake game.. Yes the one you're thinking of.
No AI generated code just journal and read me also cover picture

Timeline

Major memory optimization, Made the game more responsive and functional, Nerfed apple spawn rate and and added user instructions on how to play

Update attachment

Ship 1

1 payout of shell 193.0 shells

Nullskulls

about 2 months ago

Nullskulls Covers 8 devlogs and 11h 13m

Project finally finished and documented.

Update attachment

Snake now can grow (yes it couldn't in the past lol)

Update attachment

fixed the obscene amount of apples spawning bug turns out malloc was litterly handing me memory with apples already in it which should be impossible with how consistently it did it but it is what it is

Update attachment

Complete logic overhaul, Something is going wrong but the structure is there.

Update attachment

nothing works. i tried fixing one thing somehow broke 3 and valgrind is screaming at me because im leaking memory left and right the snake is either all head or there are a million apples spawning for no reason and when you touch em congrats man seg fault, CLion debugger stopped working a while back because it gets confused when i use kbhit() (which i need so users dont have to press enter between each press) not to mention this isnt UNIX compatible, I genuinely might delete everything and start over.

Update attachment

I have spent the past 2 and a half hours fighting with Clang and i still don't understand what's going wrong, I'd very much love to say i made progress but that would be a brazen lie.

Update attachment

Added the base foundations including
-Drawing the board
-Initializing the board
-Keeping track of length and pos of the snake head and others feel free to check the github repo to learn more

Update attachment

This is my first personal project in C i honestly don't know what to expect, I've built stuff in C before but never personally. It's either going to go really smoothly or really badly and the latter is far more likely.

Update attachment