diff options
author | vehme003 <vehme003@umn.edu> | 2021-04-11 22:56:58 -0500 |
---|---|---|
committer | GitHub Enterprise <noreply-github@umn.edu> | 2021-04-11 22:56:58 -0500 |
commit | 5dce8594eeb8712733aa080d16df108e54d38cc9 (patch) | |
tree | 3f6b2cf8f964edb965be416b52a92dc6af87b7f6 /main2.py | |
parent | Update board2.py (diff) | |
download | csci4511w-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.py | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -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()
|