Skip to content
Gamejam· @ShipOnGamejam · X·· 7 d agoAI score56

How to Add Genuine Controller Support to Browser Games (Working Prompt Included)

Editorial summary

Gamejam explains how to add complete controller support to browser games and provides a free prompt tested and confirmed to work with Claude Code. The creator verified it on the three.js mini-game Gem Hop: after handing the task to Claude Code once, it was completed within about an hour. The title screen, settings, gameplay, pausing, collection of all 12 gems, and name entry for the high-score leaderboard can all be completed using only a controller, while keyboard and mouse controls remain available.

Source: Gamejam · x.com