Switch languageν•œκ΅­μ–΄
Back to the list

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

TL;DR AI

Key summary

2 min read
  1. A developer built Ping Prompt, a neon browser air hockey game where a local small language model acts as the game master.

  2. The AI can comment, taunt, and even alter controls, while Brain.js predicts player movement for the paddle logic.

  3. A physics engine keeps the game responsive, showing how local AI can be split between real-time gameplay and slower narrative control.

  4. The project highlights both the limits of SLMs in interactive loops and new possibilities for AI-driven game design.

Read the original