Robocode/Robot Anatomy

From Robowiki
< Robocode
Revision as of 05:35, 11 August 2017 by MultiplyByZer0 (talk | contribs) (Improve formatting and move documentation footer to template)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The anatomy of a robot

A robot consists of three individual parts:

  • Body ‒ Carries the gun with the radar on top. The body is used for moving the robot ahead and back, as well as turning left or right.
  • Gun ‒ Mounted on the body and is used for firing energy bullets. The gun can turn left or right. Carries the radar on top.
  • Radar ‒ Mounted on the gun and is used to scan for other robots when moved. The radar can turn left or right. The radar generates onScannedRobot() events when robots are detected.

See also

Robocode API

Beginner Guides

External Editors

.NET Robots