The Joust Status Reporter (JSR) received wireless communications from the king and reported them to our microcontroller using SPI communication. A special state machine interpreted the received SPI messages and posted them to the JSR Handler. Finally, the JSR Handler kept track of the game status and posted the appropriate event for Robot Control. This separation of game status tracking and hardware reactions allowed a much simpler Robot Control structure.
Upper Level JSR Handler
Lowre Level JSR Game Play