Press the flag. If only one bot is alive, said bot is the winner. Once one bot wins, press the flag again to rematch.
If you are to use this, you MUST give credit.