diff options
author | RossTheRoss <mstrapp@protonmail.com> | 2021-04-13 17:22:52 -0500 |
---|---|---|
committer | RossTheRoss <mstrapp@protonmail.com> | 2021-04-13 17:22:52 -0500 |
commit | 77a99164bb53b207ba8efec1a37238379f595f44 (patch) | |
tree | 47f95873e3f005749853efb5d9e2c6f986c077a8 /Jack | |
parent | Rearrange things more I guess (diff) | |
download | csci4511w-77a99164bb53b207ba8efec1a37238379f595f44.tar csci4511w-77a99164bb53b207ba8efec1a37238379f595f44.tar.gz csci4511w-77a99164bb53b207ba8efec1a37238379f595f44.tar.bz2 csci4511w-77a99164bb53b207ba8efec1a37238379f595f44.tar.lz csci4511w-77a99164bb53b207ba8efec1a37238379f595f44.tar.xz csci4511w-77a99164bb53b207ba8efec1a37238379f595f44.tar.zst csci4511w-77a99164bb53b207ba8efec1a37238379f595f44.zip |
Rearrange and add more
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.py | 20 | ||||
-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/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()
|