def main(): dateTimeObj = datetime.now() print(dateTimeObj) xbot = AbBot(Player.x) obot = InvinciBot(Player.o) game = Game(15) print ("abbot (x) vs invincibot (o)") game.simulate(xbot, obot) xbot = InvinciBot(Player.x) obot = AbBot(Player.o) game = Game(15) print ("invincibot (x) vs abbot (o)") game.simulate(xbot, obot) dateTimeObj = datetime.now() print(dateTimeObj)
def main(): xbot = RandomBot(Player.x) obot = OneLayerBot(Player.o) game = Game(1000) print ("randombot (x) vs onelayerbot (o)") game.simulate(xbot, obot) xbot = OneLayerBot(Player.x) obot = RandomBot(Player.o) game = Game(1000) print ("onelayerbot (x) vs randombot (o)") game.simulate(xbot, obot) xbot = OneLayerBot(Player.x) obot = OneLayerBot(Player.o) game = Game(1000) print ("onelayerbot (x) vs onelayerbot (o)") game.simulate(xbot, obot)
def main(): dateTimeObj = datetime.now() print(dateTimeObj) xbot = AbBot(Player.x) obot = RandomBot(Player.o) game = Game(15) print("abbot (x) vs randombot (o)") game.simulate(xbot, obot) xbot = RandomBot(Player.x) obot = AbBot(Player.o) game = Game(15) print("randombot (x) vs abbot (o)") game.simulate(xbot, obot) xbot = AbBot(Player.x) obot = AbBot(Player.o) game = Game(15) print("abbot (x) vs abbot (o)") game.simulate(xbot, obot) dateTimeObj = datetime.now() print(dateTimeObj)
def main(): xbot = RandomBot(Player.x) obot = RandomBot(Player.o) game = Game(1000) game.simulate(xbot, obot)