Welcome to JBOT WARS!!!
Let the killing begin ... code your bot and press start
Robots have six parameters:
- x,y are location and yes, you can teleport
- r is the direction of movement
- v is the velosity
- dead, when true means robot is now dead
- fire, when true means canon should fire, it fires to the direction robot it moving
To see other robot you can access robots[x], where x is either 0 or 1.
Of course you can kill the other robot by just doing
robots.dead = true;,
but that's not much fun is it?