aichallenge/aichallenge — Issue #352: Documentation: spawnradius2 is used instead of attackradius2
Author: johshoff
Created: 2011-11-04 11:45:29+00:00
State: open

For specifying battle rules, the following pseudo-code is used:

for each enemy in range of ant (using spawnradius2):

On pages http://aichallenge.org/specification.php and http://aichallenge.org/specification_battle.php .

It should read `attackradius2`, not `spawnradius2`. The python code is correct.

(Another detail is that it is slightly confusing that it says "the ant dies" while traversing the ants. It does not die immediately, but only *after* the loop. A better wording might be "the ant is marked for killing", and then at the end say "all marked ants are killed")