We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed993e6 commit 9f74f9aCopy full SHA for 9f74f9a
ai/grid.py
ai/wall.py
@@ -79,5 +79,13 @@ def step(self):
79
"""CombatTurtle.setup() -> None
80
Step event code for Combat Turtle.
81
"""
82
+
83
+ # Outline:
84
+ # Turn and move towards the opponent as long as there's line of sight.
85
+ # Otherwise, attempt to move towards opponent while scanning ahead of self.
86
+ # If there's an obstacle, begin wall hugging behavior, which is based on scanning a point to left of self.
87
+ # As long as that point is free, turn right while moving forward until it becomes blocked for the first time.
88
+ # As long as that point is blocked, move forward.
89
+ # After sticking to a wall, turn left whenever the point to the turtle's left is unblocked.
90
91
pass
0 commit comments