JS Robots is a game played between programs which control simulated battle robots. Programs are written in JavaScript.
EditHistory
JS Robots was first released in 2009 by Warp Asylum.
EditRobots
Robots are damaged by collisions or when caught in an explosion. A robot is destroyed when it reaches 100% damage. A robot's maximum speed is 100.
EditArena
The arena is 500×500 units with the origin at the top left. 0° is at the top, increasing clockwise.
EditProgramming
- scan(degrees,resolution)
- cannon(degrees,range)
- drive(degrees,speed)
- damage()
- speed()
- loc_x()
- loc_y()
- rand(limit)
- sqrt(number)
- sine(degrees)
- cosine(degrees)
- tan(degrees)
- atan(ratio)
EditExternal Links