Difference between revisions of "Robocode/Robot Anatomy"
< Robocode
Jump to navigation
Jump to search
(Minor changes) |
(Improve formatting and move documentation footer to template) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | [[Image:Anatomy.jpg|thumb|The anatomy of a robot]] | |
A robot consists of three individual parts: | 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 [http://robocode.sourceforge.net/docs/robocode/robocode/Robot.html#onScannedRobot(robocode.ScannedRobotEvent) <code>onScannedRobot()</code>] events when robots are detected. | ||
+ | == See also == | ||
− | + | {{RobocodeDocsList}} | |
− | |||
− | |||
− | + | [[Category:Robocode Documentation]] | |
− | + | [[Category:Tutorials]] | |
− | |||
− | |||
− | + | __NOTOC__ |
Latest revision as of 04:35, 11 August 2017
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
- Welcome to Robocode
- System requirements
- Download and install
- Getting started
- Frequently asked questions
- My First Robot tutorial
- Game physics
- The anatomy of a robot
- Scoring in Robocode
- Using the robot console
- Downloading other robots
- Learning from other robots
- Package your robot
- Articles about Robocode
- Starting Robocode from the command line
- Graphical debugging
External Editors
- Using Eclipse with Robocode
- Creating a project in Eclipse
- Creating a robot in Eclipse
- Running your robot from Eclipse
- Debugging your robot with Eclipse
- Using NetBeans with Robocode
- Using Gradle with Robocode
.NET Robots
Links
- Robocode homepage
- Robocode project at SourceForge
- Robocode code repository at GitHub
- Robocode Google Group
- Robocode downloads
- Robocode RSS feed
- LiteRumble
- Robots archive
- Wikipedia entry for Robocode