From 77a99164bb53b207ba8efec1a37238379f595f44 Mon Sep 17 00:00:00 2001 From: RossTheRoss Date: Tue, 13 Apr 2021 17:22:52 -0500 Subject: Rearrange and add more --- Jack/main2.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Jack/main2.py (limited to 'Jack/main2.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() -- cgit v1.2.3