aboutsummaryrefslogtreecommitdiffstats
path: root/Jack/main2.py
diff options
context:
space:
mode:
Diffstat (limited to 'Jack/main2.py')
-rw-r--r--Jack/main2.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/Jack/main2.py b/Jack/main2.py
new file mode 100644
index 0000000..771e24e
--- /dev/null
+++ b/Jack/main2.py
@@ -0,0 +1,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()