I coded an Air Hockey game where a local SLM hacks the DOM to cheat (and trash-talks you) π€π

TL;DR AI
2 min readKey summary
A developer built Ping Prompt, a neon browser air hockey game where a local small language model acts as the game master.
The AI can comment, taunt, and even alter controls, while Brain.js predicts player movement for the paddle logic.
A physics engine keeps the game responsive, showing how local AI can be split between real-time gameplay and slower narrative control.
The project highlights both the limits of SLMs in interactive loops and new possibilities for AI-driven game design.
