Skip to content
iPhone-controlled HTML5 game concept demo
JavaScript Shell
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.webbynode
controllers
models
public
views
.gitignore
.pushand
README.md
build.sh
package.json
server.js

README.md

Socket Play

iPhone-controlled HTML5 game

Requirements

  1. Browser: Latest versions of Chrome or Firefox
  2. iPhone: iOS 4.2+ (Also includes iPad and iPod Touch with iOS 4.2+)
  3. Node.js and npm
  4. The app uses MongoDB but at this stage it's not required

Install

git clone git@github.com:yyx990803/Socket-Play.git
cd Socket-Play && npm install
node server.js

Navigate to http://localhost:8888

Use the iPhone's Mobile Safari to access the controller at http://localhost:8888/c

If you are using a Macbook Pro 2010+, which supports the Device Orientation API, you can use a second tab to visit the controller.

About

Thanks to the awesome people behind Node.js, Express, Socket.io, Three.js

Evan You (@yuxiyou)

Something went wrong with that request. Please try again.