I hereby claim:
- I am icaromdeiros on github.
- I am icaromedeiros (https://keybase.io/icaromedeiros) on keybase.
- I have a public key ASAkE2vewBp19HdvpZbD9ZJtlsbawKp1WK_5UZyWEZTtRQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| var Robot = function(robot){ | |
| robot.turnLeft(robot.angle % 90); | |
| //robot.turnGunRight(90); | |
| robot.clone(); | |
| this.direction = 1; | |
| }; | |
| Robot.prototype.onIdle = function(ev) { | |
| var robot = ev.robot; | |
| robot.ahead(1); | |
| if (robot.parentId) { |
| var Robot = function(robot){ | |
| robot.turnLeft(robot.angle % 90); | |
| //robot.turnGunRight(90); | |
| robot.clone(); | |
| this.direction = 1; | |
| }; | |
| Robot.prototype.onIdle = function(ev) { | |
| var robot = ev.robot; | |
| robot.ahead(1); | |
| if (robot.parentId) { |
| //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; | |
| robot.ahead(100); |
| <meta name="google-site-verification" content="NsrVYjPUrBsVZpZtykuBf98hPUIHs5GDGGybY9s2joM" /> |