pattssun/openwii ? reverse-engineered prompt
Reverse engineered prompt
Build me a local multiplayer web app called OpenWii where a phone becomes the game controller and the computer runs the games.
I want someone to open the site on their computer, see a QR code, scan it with their phone, and start using the phone as a motion controller with no extra app. The phone should be able to tilt, point, and press buttons, and the computer should receive that input in real time for a few simple games like a kart racing game, fruit slicing, an alien shooter, a target shooting game, and a sketch pad. It should support up to four phones joining the same computer when the game allows it.
Make it work on the same Wi Fi, use HTTPS so motion sensors work, and show clear instructions if the browser needs permissions. A clean launcher menu, smooth controls, sound, and basic rumble feedback would be great. If you need current browser or motion sensor details, look up the latest docs online.
Are you gonna build this?
make sure you review the code using coderabbit