Difference between revisions of "Robocode/Scoring"

From Robowiki
Jump to navigation Jump to search
(Move documentation footer to a template)
 
Line 4: Line 4:
  
 
[[Image:BattleResults.png|Shows the battle results for 3 sample robots that have just completed a battle of 10 rounds]]
 
[[Image:BattleResults.png|Shows the battle results for 3 sample robots that have just completed a battle of 10 rounds]]
 
  
 
Here's a breakdown of all the statistics:
 
Here's a breakdown of all the statistics:
  
* '''Total Score''' - This is everything else added up, and determines each robot's rank in this battle.
+
* '''Total Score''' This is everything else added up, and determines each robot's rank in this battle.
* '''Survival Score''' - Each robot that's still alive scores 50 points every time another robot dies.
+
* '''Survival Score''' Each robot that's still alive scores 50 points every time another robot dies.
* '''Last Survivor Bonus''' - The last robot alive scores 10 additional points for each robot that died before it.
+
* '''Last Survivor Bonus''' The last robot alive scores 10 additional points for each robot that died before it.
* '''Bullet Damage''' - Robots score 1 point for each point of damage they do to enemies.
+
* '''Bullet Damage''' Robots score 1 point for each point of damage they do to enemies.
* '''Bullet Damage Bonus''' - When a robot kills an enemy, it scores an additional 20% of all the damage it did to that enemy.
+
* '''Bullet Damage Bonus''' When a robot kills an enemy, it scores an additional 20% of all the damage it did to that enemy.
* '''Ram Damage''' - Robots score 2 points for each point of damage they cause by ramming enemies.
+
* '''Ram Damage''' Robots score 2 points for each point of damage they cause by ramming enemies.
* '''Ram Damage Bonus''' - When a robot kills an enemy by ramming, it scores an additional 30% of all the damage it did to that enemy.
+
* '''Ram Damage Bonus''' When a robot kills an enemy by ramming, it scores an additional 30% of all the damage it did to that enemy.
* '''1sts, 2nds, 3rds''' - These do not actually contribute to score, but are there to show how long the robot survived, i.e. the number of rounds the robot was placed 1st, 2nd, and 3rd.
+
* '''1sts, 2nds, 3rds''' These do not actually contribute to score, but are there to show how long the robot survived, i.e. the number of rounds the robot was placed 1st, 2nd, and 3rd.
  
 
== FAQ ==
 
== FAQ ==
'''Q''': My robot is not winning with the highest score, even though it is the only one left on the battlefield. Why is that the case?
+
; My robot is not winning with the highest score, even though it is the only one left on the battlefield. Why is that the case?
 
+
: Your robot will not necessarily win, just by being the last robot left on the battlefield (i.e. last survivor). A robot that does not fire much, but "just" saves its energy is getting a lesser score than a robot that hits other robots with a lot of bullets. So, do not save your bullets forever just to survive. Make sure you hit with as many of your bullets as possible. The better your robot is at hitting other robots, the better your score will become.
'''A''': Your robot will not necessarily win, just by being the last robot left on the battlefield (i.e. last survivor). A robot that does not fire much, but "just" saves its energy is getting a lesser score than a robot that hits other robots with a lot of bullets. So, do not save your bullets forever just to survive. Make sure you hit with as many of your bullets as possible. The better your robot is at hitting other robots, the better your score will become.
 
  
 
== See also ==
 
== See also ==
  
=== Robot API ===
+
{{RobocodeDocsList}}
* [http://robocode.sourceforge.net/docs/robocode/ Robot API]
 
 
 
=== Tutorials ===
 
* [[Robocode/System Requirements|System Requirements for Robocode]]
 
* [[Robocode/Download|How to download and install Robocode]]
 
* [[Robocode/Robot Anatomy|The anatomy of a robot]]
 
* [[Robocode/Getting Started|Getting started with Robocode]]
 
* [[Robocode/My First Robot|My First Robot Tutorial]]
 
* [[Robocode/Game Physics|Robocode Game Physics]]
 
* [[Robocode/Robot Console|Using the robot console]]
 
* [[Robocode/Downloading_Robots|Downloading other robots]]
 
* [[Robocode/Learning from Robots|Learning from other robots]]
 
* [[Robocode/Package Robot|Package your robot]]
 
* [[Robocode/FAQ|Frequently Asked Questions (FAQ)]]
 
* [[Robocode/Articles|Articles about Robocode]]
 
* [[Robocode/Console Usage|Starting Robocode from the command line]]
 
* [[Robocode/Graphical_Debugging|Graphical debugging]]
 
* [[Robocode/Eclipse|Using Eclipse as IDE]]
 
* [[Robocode/Eclipse/Create_a_Project|Creating a project for your robots]]
 
* [[Robocode/Eclipse/Create_a_Robot|Creating a robot in Eclipse]]
 
* [[Robocode/Running from Eclipse|Running your robot from Eclipse]]
 
* [[Robocode/Eclipse/Debugging Robot|Debugging your robot with Eclipse]]
 
 
 
=== News and Releases ===
 
* [http://sourceforge.net/export/rss2_project.php?group_id=37202 RSS Feeds for the Robocode project]
 
* [http://sourceforge.net/project/showfiles.php?group_id=37202&package_id=29609 Robocode file releases]
 
 
 
=== Home pages ===
 
* [http://robocode.sourceforge.net/ Classic homepage]
 
* [http://sourceforge.net/projects/robocode Robocode project at SourceForge]
 
* [http://robocoderepository.com/ Robocode Repository]
 
* [[wikipedia:Robocode|Wikipediaentry for Robocode]]
 
  
 
[[Category:Robocode Documentation]]
 
[[Category:Robocode Documentation]]
 
[[Category:Tutorials]]
 
[[Category:Tutorials]]

Latest revision as of 22:34, 9 August 2017

Scoring

When a battle completes, you'll see a set of results like this:

Shows the battle results for 3 sample robots that have just completed a battle of 10 rounds

Here's a breakdown of all the statistics:

  • Total Score ‒ This is everything else added up, and determines each robot's rank in this battle.
  • Survival Score ‒ Each robot that's still alive scores 50 points every time another robot dies.
  • Last Survivor Bonus ‒ The last robot alive scores 10 additional points for each robot that died before it.
  • Bullet Damage ‒ Robots score 1 point for each point of damage they do to enemies.
  • Bullet Damage Bonus ‒ When a robot kills an enemy, it scores an additional 20% of all the damage it did to that enemy.
  • Ram Damage ‒ Robots score 2 points for each point of damage they cause by ramming enemies.
  • Ram Damage Bonus ‒ When a robot kills an enemy by ramming, it scores an additional 30% of all the damage it did to that enemy.
  • 1sts, 2nds, 3rds ‒ These do not actually contribute to score, but are there to show how long the robot survived, i.e. the number of rounds the robot was placed 1st, 2nd, and 3rd.

FAQ

My robot is not winning with the highest score, even though it is the only one left on the battlefield. Why is that the case?
Your robot will not necessarily win, just by being the last robot left on the battlefield (i.e. last survivor). A robot that does not fire much, but "just" saves its energy is getting a lesser score than a robot that hits other robots with a lot of bullets. So, do not save your bullets forever just to survive. Make sure you hit with as many of your bullets as possible. The better your robot is at hitting other robots, the better your score will become.

See also

Robocode API

Beginner Guides

External Editors

.NET Robots

Links