Analysis updated 2026-07-17 · repo last pushed 2011-11-26
Prototype a game controlled by tilting a phone instead of a keyboard.
Build a multiplayer browser game where each player's phone is their controller.
Create an arcade-style demo using phones as wireless input devices.
Learn how WebSockets sync real-time input between two devices on a local network.
| yyx990803/socket-play | 09catho/axon | abdulrdeveloper/react--tic-tac-toe | |
|---|---|---|---|
| Stars | 13 | 13 | 13 |
| Language | JavaScript | JavaScript | JavaScript |
| Last pushed | 2011-11-26 | — | — |
| Maintenance | Dormant | — | — |
| Setup difficulty | moderate | moderate | easy |
| Complexity | 3/5 | 4/5 | 1/5 |
| Audience | vibe coder | researcher | developer |
Figures from each repo's GitHub metadata at analysis time.
Both the computer and phone must be on the same local network.
Socket Play is a demo that lets you control an HTML5 game running in a web browser using your iPhone as a wireless controller. Instead of a keyboard or mouse, you tilt and interact with your phone to move and control a character or object on a computer screen. The way it works is relatively straightforward. You start the application on your computer by running a few simple commands that launch a server. Then you open a web browser on your computer to see the game itself, and separately, you visit a special controller page on your iPhone's Safari browser. The two devices communicate wirelessly over your local network using WebSocket technology, a method that lets them send messages back and forth instantly. When you tilt your iPhone or tap the screen, those movements are detected by the controller page and sent to the game, which responds in real time. This was built as a proof-of-concept demonstration to show what's possible when you combine a few existing web technologies: Node.js for the server, Express for routing, Socket.io for the live communication between devices, and Three.js for 3D graphics in the browser. The creator mentions that MongoDB support is included but isn't necessary to get started. You'd use this if you wanted to prototype an unusual game input method, imagine multiplayer games where each player uses their own phone, or arcade-style experiences where the phone becomes the controller. It's particularly clever because it uses technologies already available in mobile Safari circa 2011, so you didn't need a dedicated app. The main limitation is that both devices need to be on the same local network, and it was designed when iOS and browser capabilities were much more limited than today.
A demo that turns your iPhone into a wireless controller for a browser-based HTML5 game using WebSockets, no app install required.
Mainly JavaScript. The stack also includes Node.js, Express, Socket.io.
Dormant — no commits in 2+ years (last push 2011-11-26).
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly vibe coder.
This repo across BitVibe Labs
Verify against the repo before relying on details.