aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvehme003 <vehme003@umn.edu>2021-04-11 23:26:34 -0500
committerGitHub Enterprise <noreply-github@umn.edu>2021-04-11 23:26:34 -0500
commit6df39f3d5cff61d8652a45afd8b6581daafc3c77 (patch)
tree40374b71d2c0f6ddc0266af3bf0a0a8b186a2117
parentUpdate main2.py (diff)
downloadcsci4511w-6df39f3d5cff61d8652a45afd8b6581daafc3c77.tar
csci4511w-6df39f3d5cff61d8652a45afd8b6581daafc3c77.tar.gz
csci4511w-6df39f3d5cff61d8652a45afd8b6581daafc3c77.tar.bz2
csci4511w-6df39f3d5cff61d8652a45afd8b6581daafc3c77.tar.lz
csci4511w-6df39f3d5cff61d8652a45afd8b6581daafc3c77.tar.xz
csci4511w-6df39f3d5cff61d8652a45afd8b6581daafc3c77.tar.zst
csci4511w-6df39f3d5cff61d8652a45afd8b6581daafc3c77.zip
Update main2.py
Diffstat (limited to '')
-rw-r--r--main2.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/main2.py b/main2.py
index d5a5d1d..cdce25b 100644
--- a/main2.py
+++ b/main2.py
@@ -4,11 +4,17 @@ 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()