Esempio n. 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)
Esempio n. 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)
Esempio n. 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)
Esempio n. 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)
Esempio n. 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)
Esempio n. 6
0
def StarFortress():
    # Change bastion radius at 30
    data = Example_9()
    play = Player(data)
    play.SetLoopsForEachTest(2)
    play.SetMaxCastleEvolutions(5)
    play.SetTimePeriod(19)
    play.SetVerboseLevel(VERBOSE_RESULT)
    play.DrawCastleShape(canvas=None,
                         city=False,
                         starfortress=True,
                         resetData=True)