Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sarah Oran
ants_vs_some_bees
Commits
a40bef98
Commit
a40bef98
authored
Apr 18, 2017
by
Brady James Garvin
Browse files
Added clarification regarding the word "step".
parent
d3f736f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
ants_vs_some_bees.py
View file @
a40bef98
...
...
@@ -293,7 +293,9 @@ class Thrower(Ant):
"""
Recursively identify the nearest Place with a targetable bee. Only
bees in the colony and between minimum_range and maximum_range steps,
inclusive, of the candidate place are considered targetable.
inclusive, of the candidate place are considered targetable. (Note
that all steps are counted equally, regardless of the world_x and
world_y of the Places they connect.)
"""
if
isinstance
(
candidate
,
ColonyPlace
)
and
len
(
candidate
.
bees
)
>
0
:
return
candidate
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment