1,234 lines of C code later (plus raylib) and I have a game!