aboutsummaryrefslogtreecommitdiffstats
path: root/main2.py
diff options
context:
space:
mode:
authorvehme003 <vehme003@umn.edu>2021-04-11 22:56:58 -0500
committerGitHub Enterprise <noreply-github@umn.edu>2021-04-11 22:56:58 -0500
commit5dce8594eeb8712733aa080d16df108e54d38cc9 (patch)
tree3f6b2cf8f964edb965be416b52a92dc6af87b7f6 /main2.py
parentUpdate board2.py (diff)
downloadcsci4511w-5dce8594eeb8712733aa080d16df108e54d38cc9.tar
csci4511w-5dce8594eeb8712733aa080d16df108e54d38cc9.tar.gz
csci4511w-5dce8594eeb8712733aa080d16df108e54d38cc9.tar.bz2
csci4511w-5dce8594eeb8712733aa080d16df108e54d38cc9.tar.lz
csci4511w-5dce8594eeb8712733aa080d16df108e54d38cc9.tar.xz
csci4511w-5dce8594eeb8712733aa080d16df108e54d38cc9.tar.zst
csci4511w-5dce8594eeb8712733aa080d16df108e54d38cc9.zip
Update main2.py
Diffstat (limited to '')
-rw-r--r--main2.py12
1 files 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()