Skip to content

Commit 307454d

Browse files
FINAL GAME CODE. WE WON
1 parent b76e93e commit 307454d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/thunderbots/software/ai/hl/stp/tactic/shoot_goal_tactic.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ bool ShootGoalTactic::isEnemyAboutToStealBall() const
8383
Point rotated_baller_position = robot->position().rotate(theta);
8484

8585
Rectangle area_in_front_of_rotated_baller(
86-
rotated_baller_position - Vector(0, 2 * ROBOT_MAX_RADIUS_METERS),
86+
rotated_baller_position - Vector(0, 3 * ROBOT_MAX_RADIUS_METERS),
8787
rotated_baller_position +
88-
Vector(3 * ROBOT_MAX_RADIUS_METERS, 2 * ROBOT_MAX_RADIUS_METERS));
88+
Vector(5 * ROBOT_MAX_RADIUS_METERS, 3 * ROBOT_MAX_RADIUS_METERS));
8989

9090
for (const auto &enemy : enemy_team.getAllRobots())
9191
{

0 commit comments

Comments
 (0)