async def restart_game(self): req = sc_pb.RequestRestartGame() result = await self._execute(restart_game=req) return result
def restart(self): """Restart the game. Only done by the host.""" return self._client.send(restart_game=sc_pb.RequestRestartGame())
async def reset(self): try: await self._execute(restart_game=sc_pb.RequestRestartGame()) except ProtocolError: if is_resign: raise