Skip to content

Instantly share code, notes, and snippets.

View 1000i100's full-sized avatar

Millicent Billette 1000i100

View GitHub Profile
@1000i100
1000i100 / robot.js
Created December 7, 2012 14:18 — forked from jaskolek/robot.js
jaskolek-fork
var robots = new Array();
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
};
Robot.prototype.start = function( ev ){
@1000i100
1000i100 / robot.js
Created December 7, 2012 14:20
Zolmeister-fork
var robots = new Array();
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
};
Robot.prototype.start = function( ev ){
@1000i100
1000i100 / robot.js
Created December 7, 2012 14:22 — forked from f6p/robot.js
NecroBadger-fork
// helpers
function areEnemies(robot, sighted) {
var sightedIsChild = (robot.id == sighted.parentId);
var sightedIsParent = (robot.parentId == sighted.id);
return !(sightedIsChild || sightedIsParent);
};
function baseStep(robot) {

Keybase proof

I hereby claim:

  • I am 1000i100 on github.
  • I am 1000i100 (https://keybase.io/1000i100) on keybase.
  • I have a public key ASB6I_LOkXz_AhSMEO4S4S-yv_jDMj3sRZSfdKHWc9wmwAo

To claim this, I am signing this object: