Exemple #1
0
def SimpleArchers():
    data = Example_5()
    play = Player(data)
    play.SetLoopsForEachTest(2)
    play.SetMaxCastleEvolutions(5)
    play.SetTimePeriod(12)
    play.SetVerboseLevel(VERBOSE_RESULT)
    play.Play(speed=1)
Exemple #2
0
def StandardSquareAttackNoCannonsSiegeTowers():
    data = Example_2()
    play = Player(data)
    play.SetLoopsForEachTest(2)
    play.SetMaxCastleEvolutions(5)
    play.SetTimePeriod(15)
    play.SetVerboseLevel(VERBOSE_RESULT)
    play.Play(speed=1)
Exemple #3
0
def AttackNorthernWall():
    data = Example_7()
    play = Player(data)
    play.SetLoopsForEachTest(2)
    play.SetMaxCastleEvolutions(5)
    play.SetTimePeriod(19)
    play.SetVerboseLevel(VERBOSE_RESULT)
    play.Play(speed=1)
Exemple #4
0
def ClimbingOnHoles():
    #Make infantry invincible
    data = Example_6()
    play = Player(data)
    play.SetLoopsForEachTest(2)
    play.SetMaxCastleEvolutions(5)
    play.SetTimePeriod(19)
    play.SetVerboseLevel(VERBOSE_RESULT)
    play.Play(speed=1)
Exemple #5
0
def CannonsAttackers():
    # Change bastion radius at 20
    data = Example_8()
    play = Player(data)
    play.SetLoopsForEachTest(2)
    play.SetMaxCastleEvolutions(5)
    play.SetTimePeriod(19)
    play.SetVerboseLevel(VERBOSE_RESULT)
    play.Play(speed=1)