Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

HTML5 Web application using node.js

branch: master

code cleanup

* use gjslint to clean up JavaScript files
* reformat files to consistently use 2-space indentation
latest commit d094761249
Jeff Mesnil authored November 28, 2010
Octocat-spinner-32 README.md
Octocat-spinner-32 board-network.js code cleanup November 28, 2010
Octocat-spinner-32 board.js
Octocat-spinner-32 cache.manifest
Octocat-spinner-32 client.js
Octocat-spinner-32 index.html Warn if DeviceOrientation Event is not supported November 27, 2010
Octocat-spinner-32 jquery.min.js
Octocat-spinner-32 screen.css code cleanup November 28, 2010
Octocat-spinner-32 server.js code cleanup November 28, 2010
README.md

Prerequisites

  1. install node.js

Run the game

Run the server

On your server machine:

$ node server.js ... HTTP server running at htpp://0.0.0.0:8080

Run the client

On you iPhone/iPad, open http://<server-name>:8080/ and move the device to move the piece on the board (To know the name of your server, use hostname in a terminal)

Something went wrong with that request. Please try again.