diff options
author | vehme003 <vehme003@umn.edu> | 2021-04-11 23:26:34 -0500 |
---|---|---|
committer | GitHub Enterprise <noreply-github@umn.edu> | 2021-04-11 23:26:34 -0500 |
commit | 6df39f3d5cff61d8652a45afd8b6581daafc3c77 (patch) | |
tree | 40374b71d2c0f6ddc0266af3bf0a0a8b186a2117 | |
parent | Update main2.py (diff) | |
download | csci4511w-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.py | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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()
|