def __init__(self, msg): RiskGameError.__init__(self, msg)
def __init__(self, origin, target): RiskGameError.__init__(self, "%s and %s aren't neighbours!" % \ (origin.name, target.name))
def __init__(self): RiskGameError.__init__(self, 'user wants to quit')
def __init__(self, origin, target): RiskGameError.__init__(self, "You own both %s and %s!" % \ (origin.name, target.name))
def __init__(self, origin): RiskGameError.__init__(self, "%s doesn't have enough armies to " \ "attack, minimum is 2" % (origin.name))
def __init__(self, attempted_player, number_of_players): RiskGameError.__init__("attempted to access player: %s but only have" \ " %s players" % (attempted_player, number_of_players))