snake-c-wasm
snake-c-wasm copied to clipboard
UNREACHABLE() triggered with FEATURE_DYNAMIC_CAMERA
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 to reproduce:
- reset three times to get the right RNG,
- collect the egg from the bottom
- *crash*
https://user-images.githubusercontent.com/25011746/167163666-fc7ae3d6-71f8-4aef-825a-995025ae5146.mp4