snake-c-wasm
snake-c-wasm copied to clipboard
Snake written in Pure C and compilable to WebAssembly
If you collect the first egg while the snake is crossing the screen edge/warping to the other side, the game crashes with: ``` game.c:394: GAME ASSERTION FAILED: unreachable ``` How...
Hope this insanity ends soon.
This commit adds a Plan9 platform. This was only tested on [9front](http://9front.org). It doesn't use the font because of a bug in 9front's [libttf](http://git.9front.org/plan9front/plan9front/abdb62608209861e52798c1225d8779c5cd96196/sys/src/libttf/hint.c/f.html). ```c static void push(Hint *h, u32int...
https://github.com/tsoding/snake-c-wasm/blob/9448a214962565eb665aa20a83c934e86e91e2b3/raylib_main.c#L28 A god cooder like you should use Extended version don't you think?