game: https://johnnycena123.itch.io/snake
source: https://github.com/JohnnyCena123/raylib-projects/tree/snake
#snake clone with raylib
15 messages · Page 1 of 1 (latest)
why have init deinit when you have constructor and destructor
read the comment in the ctor
@tranquil bramble has reached level 1. GG!
So call it first, wdym you cant
check the code again ig idk
?? You can pass argc argv to game class constructor and do everything within it, why overnegineering stuff
I dont wanna do that
I dont like having parameters that their only purpose is to be pipelined to another function down the stack
at least not in anything that's not an abstraction library
Ok, if it makes more sense to you
Why the github page shows you a "Tic Tac Toe v1.0.0" on releases instead of the snake game?
because its a multiple project repo
each branch is either a feature branch or a separate project