WeSearch

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

Β·8 min read Β· 0 reactions Β· 0 comments Β· 14 views
#gaming#ai#javascript#webgpu#gamedev
I coded an Air Hockey game where a local SLM hacks the DOM to cheat (and trash-talks you) πŸ€–πŸ“
⚑ TL;DR · AI summary

A developer created an Air Hockey game featuring an AI opponent that cheats and trash-talks players. The game, called Ping Prompt, utilizes a Small Language Model (SLM) running locally in the browser. The project explores the intersection of AI and game mechanics, revealing challenges in real-time physics interactions.

Key facts
Original article
DEV.to (Top)
Read full at DEV.to (Top) β†’
Opening excerpt (first ~120 words) tap to expand

try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3769613) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Quentin Merle Posted on May 28 I coded an Air Hockey game where a local SLM hacks the DOM to cheat (and trash-talks you) πŸ€–πŸ“ #webgpu #gamedev #ai #javascript Have you ever played a game where the AI realizes it's losing, gets angry, and literally inverts your mouse controls in the DOM?* After having a blast creating GemMaster (my previous AI-managed RPG project), I wanted to push my experiments a little further.

…

Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).

Anonymous Β· no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from DEV.to (Top)