Open Jason27chan opened 6 years ago
We use magic numbers in several files where we want to put this number in a variable and use the variable. Makes it easier to change and reuse
Files
Btw for convenience GitHub lets you link these lines directly, e.x, https://github.com/RoboJackets/robocup-software/blob/master/soccer/gameplay/skills/aim.py#L214
We use magic numbers in several files where we want to put this number in a variable and use the variable. Makes it easier to change and reuse
Files
our_corner_kick.py line 29https://github.com/RoboJackets/robocup-software/blob/master/soccer/gameplay/plays/restarts/our_corner_kick.py#L29our_free_kick.py line 40, 83https://github.com/RoboJackets/robocup-software/blob/master/soccer/gameplay/plays/restarts/our_free_kick.py#L40https://github.com/RoboJackets/robocup-software/blob/master/soccer/gameplay/plays/restarts/our_free_kick.py#L83our_goal_kick.py line 34 `https://github.com/RoboJackets/robocup-software/blob/master/soccer/gameplay/plays/restarts/our_goal_kick.py#L34