aboutsummaryrefslogtreecommitdiffstats
path: root/Jack
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Jack/board2.py (renamed from board2.py)0
-rw-r--r--Jack/game.py (renamed from game.py)0
-rw-r--r--Jack/main2.py20
-rw-r--r--Jack/node2.py (renamed from node2.py)0
4 files changed, 20 insertions, 0 deletions
diff --git a/board2.py b/Jack/board2.py
index 3aecaa5..3aecaa5 100644
--- a/board2.py
+++ b/Jack/board2.py
diff --git a/game.py b/Jack/game.py
index e69de29..e69de29 100644
--- a/game.py
+++ b/Jack/game.py
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()
diff --git a/node2.py b/Jack/node2.py
index 6ce82fc..6ce82fc 100644
--- a/node2.py
+++ b/Jack/node2.py