This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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++) { |