Skip to content

Instantly share code, notes, and snippets.

@RyPi
RyPi / robot.js
Created December 7, 2012 22:17 — forked from riomus/robot.js
IsinBot
/*
* It would be great if you fork & upgrade
* created by; Zolmeister
* edited by: Isinlor
* - added clone
* - upgrade of aim - for cloned robot
* - upgrade of aim - counting missed attack and adaptation
* - upgrade of dodge - move according to the hp
* edited by: type your nickname
* - what you changed - description
@RyPi
RyPi / robot.js
Created December 7, 2012 22:13 — forked from igos/robot.js
FullBajer
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
for(var i = 0; i < 1000;i++) {