Welcome to GameDevMechanics
Unlike GameDevMath which focuses purely on abstract mathematics, this project compiles actual C code using the Raylib engine into WebAssembly (WASM), running natively entirely inside your browser's HTML5 Canvas.
Space Invaders Logic
Demonstrates the "Accidental Speed-Up" mechanic created by CPU loop iteration constraints, alongside the single-bullet constraint.
Pac-Man Ghost AI
Visualize Toru Iwatani's algorithmic personality system via independent targeting formulas and the invisible phase timer.