2023-06-08 16:02:55 +02:00
|
|
|
from game import Game
|
2023-06-09 16:07:08 +02:00
|
|
|
#def mainloop(self):
|
|
|
|
# game = self.game
|
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'
|
2023-06-09 16:07:08 +02:00
|
|
|
#11 21
|
|
|
|
a=0
|
|
|
|
ruch='noone'
|
2023-06-08 16:02:55 +02:00
|
|
|
while True:
|
2023-06-09 16:07:08 +02:00
|
|
|
print(ruch)
|
2023-06-08 21:37:15 +02:00
|
|
|
ruch = game.nextMove(ruch)
|
|
|
|
game.printBoard()
|
2023-06-09 16:07:08 +02:00
|
|
|
print(ruch)
|
2023-06-08 21:37:15 +02:00
|
|
|
ruch = game2.nextMove(ruch)
|
2023-06-09 16:07:08 +02:00
|
|
|
game2.printBoard()
|