Skip to content

yyx990803/Socket-Play

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

iPhone-controlled HTML5 game concept demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published