From 5dce8594eeb8712733aa080d16df108e54d38cc9 Mon Sep 17 00:00:00 2001 From: vehme003 Date: Sun, 11 Apr 2021 22:56:58 -0500 Subject: Update main2.py --- main2.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/main2.py b/main2.py index c9bedaf..d5a5d1d 100644 --- a/main2.py +++ b/main2.py @@ -1,10 +1,14 @@ from board2 import * def main(): - board =[["*", " ", " ", " ","*", " ", " ", " ","*", " ", " ", " ","*"],[" "," "," "," "," "," "," "," "," "," "," "," "," "],["*", " ", " ", " ","*", " ", " ", " ","*", " ", " ", " ","*"],[" "," "," "," "," "," "," "," "," "," "," "," "," "],["*", " ", " ", " ","*", " ", " ", " ","*", " ", " ", " ","*"],[" "," "," "," "," "," "," "," "," "," "," "," "," "],["*", " ", " ", " ","*", " ", " ", " ","*", " ", " ", " ","*"]] - Board=Board(board) - Board.print_board() + board =[["*", " ", " ", " ","*", " ", " ", " ","*", " ", " ", " ","*"],[" "," "," "," "," "," "," "," "," "," "," "," "," "],["*", " ", " ", " ","*", " ", " ", " ","*", " ", " ", " ","*"],[" "," "," "," "," "," "," "," "," "," "," "," "," "],["*", " ", " ", " ","*", " ", " ", " ","*", " ", " ", " ","*"],[" "," "," "," "," "," "," "," "," "," "," "," "," "],["*", " ", " ", " ","*", " ", " ", " ","*", " ", " ", " ","*"]] + Board1 = Board(board) + Board1.print_board() + Board1.play_move(12,16) + print() + print() + Board1.print_board() -main() \ No newline at end of file +main() -- cgit v1.2.3