2023-06-08 16:02:55 +02:00
|
|
|
from game import Game
|
2023-06-08 23:13:34 +02:00
|
|
|
|
2023-06-08 16:02:55 +02:00
|
|
|
game = Game()
|
2023-06-08 21:37:15 +02:00
|
|
|
game2 = Game()
|
|
|
|
game.printBoard()
|
|
|
|
print('')
|
|
|
|
game2.printBoard()
|
|
|
|
print('')
|
2023-06-08 16:02:55 +02:00
|
|
|
boot_color = 'white'
|
|
|
|
a=0
|
2023-06-08 21:37:15 +02:00
|
|
|
ruch='noone'
|
2023-06-08 16:02:55 +02:00
|
|
|
while True:
|
2023-06-08 21:37:15 +02:00
|
|
|
print('')
|
|
|
|
a=a+1
|
|
|
|
print(a)
|
|
|
|
ruch = game.nextMove(ruch)
|
|
|
|
if(ruch==1):
|
|
|
|
game.printBoard()
|
2023-06-08 23:13:34 +02:00
|
|
|
#print(game)
|
2023-06-08 21:37:15 +02:00
|
|
|
exit(0)
|
|
|
|
game.printBoard()
|
|
|
|
print('')
|
2023-06-08 16:02:55 +02:00
|
|
|
a = a + 1
|
|
|
|
print(a)
|
2023-06-08 21:37:15 +02:00
|
|
|
ruch = game2.nextMove(ruch)
|
|
|
|
if (ruch == 1):
|
|
|
|
game2.printBoard()
|
2023-06-08 23:13:34 +02:00
|
|
|
#print(game2)
|
2023-06-08 21:37:15 +02:00
|
|
|
exit(0)
|
2023-06-08 23:13:34 +02:00
|
|
|
game2.printBoard()
|