The Robocode API is provided as HTML pages for both the Java and .NET platform.
- Java API
- .NET API
- .NET Control API
- Robot API: Within the Java package
robocode
and .NET namespaceRobocode
.
The Robot API is used for developing robots, and is the only part of the API that robots are allowed to access. - Robot Interfaces: Within the Java package
robocode.robotinterfaces
and .NET namespaceRobocode.RobotInterfaces
.
The Robot Interfaces are used for developing new robot types with a different API that the standard Robot API.
Note: The game rules and robot behaviors cannot be changed. - Control API: Within the Java package
robocode.control
and .NET namespaceRobocode.Control
.
The Control API is used for letting another application start up battles with selected robots in Robocode and retrieve the results. It is also possible to get snapshots of robots and bullets (like position, heading, energy level etc.) at a specific time in a battle.
No comments:
Post a Comment