Open drallensmith opened 7 years ago
Oops. Didn't see the "break". So if the defense can kick the ball a total of two times, unless the offense was able to kick the ball and not the defense between those two times, the defense wins. (I'm not sure if I agree with this, but OK.) Perhaps this should be clarified in the docs? I also want to explore more what happens when the goalie catches the ball.
https://github.com/mhauskn/rcssserver/blob/b2a8bf1495323ef01e576e250c73dd5a6eba91fa/src/referee.cpp#L3094
It looks like it will depend on the ordering of the players by the for loop; which side comes first?