1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
from board2 import *
def main():
board =[["*", " ", " ", " ","*", " ", " ", " ","*", " ", " ", " ","*"],[" "," "," "," "," "," "," "," "," "," "," "," "," "],["*", " ", " ", " ","*", " ", " ", " ","*", " ", " ", " ","*"],[" "," "," "," "," "," "," "," "," "," "," "," "," "],["*", " ", " ", " ","*", " ", " ", " ","*", " ", " ", " ","*"],[" "," "," "," "," "," "," "," "," "," "," "," "," "],["*", " ", " ", " ","*", " ", " ", " ","*", " ", " ", " ","*"]]
Board1 = Board(board)
Board1.print_board()
Board1.play_move(11,12)
Board1.play_move(11,15)
Board1.play_move(15,16)
Board1.play_move(12,16)
print()
print()
Board1.print_board()
Board1.check_fill()
print()
print()
Board1.print_board()
main()
|