Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master

This branch is 2 commits behind facebookarchive:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
images
README
box2d.js
demo.js
engine.js
gb_init.js
index.shtml
players.js
publish.js
pvn.css

README

Overview
--------
Pirates vs Ninjas is a physics based game where the pirates try to knock down the ninjas
dojo by launching cannonball-pirates at them. The code style has some oddity to it because
it was two projects grafted together. It runs on both mobile and desktop.

It uses the code in the engine/ directory for rendering and input (this code is a stripped
down version of the same code from https://github.com/facebook/jsgamebench )

Installation
------------
Place the pvn/ and engine/ directories into any webserver that can host static HTML files.

Then, create a new Facebook Application, and set the fb_app_id in index.html to your app_id.
Something went wrong with that request. Please try again.