Send Penalty game flow command to basestations
Closed this issue · 1 comments
jorritolthuis commented
Currently, there is no game flow command available for end-of-game penalties.
The only way to distinguish between in-game penalties and end-of-game penalties is waiting for penalties after COMM_END_GAME
after COMM_SECOND_HALF_OVERTIME
.
Since the RefBox already knows when it is in end-of-game penalties, this can be communicated easily.
My proposal is to add COMM_END_OF_GAME_PENALTY
to the game flows. This makes it easier and more robust to determine the type of penalties. This is useful since the rules differ between the two types.
jorritolthuis commented
Fixed in #55 for new protocol