Skip to content

Instantly share code, notes, and snippets.

View jimpurbrick's full-sized avatar

Jim Purbrick jimpurbrick

View GitHub Profile
@jimpurbrick
jimpurbrick / ufo.js
Created September 9, 2011 12:29
An alien abductor for the asyncjs.com JavaScript Jungle.
jj.createCreature("ufo", function (creature) {
"use strict";
var captured = {},
positionFactor = 0.005,
$ = jj.jQuery,
SEARCH = 1,
CHASE = 2,
CAPTURE = 3,
RETURN = 4,