diff options
author | vehme003 <vehme003@umn.edu> | 2021-03-25 12:06:24 -0500 |
---|---|---|
committer | GitHub Enterprise <noreply-github@umn.edu> | 2021-03-25 12:06:24 -0500 |
commit | fce4fbb00b8dddc785b6761bc73aa89170093994 (patch) | |
tree | 4583d8f1744bfb0b25c1fb93764f87007bfd87a7 /board2.py | |
parent | Add Python File and VSCode Debug file (diff) | |
download | csci4511w-fce4fbb00b8dddc785b6761bc73aa89170093994.tar csci4511w-fce4fbb00b8dddc785b6761bc73aa89170093994.tar.gz csci4511w-fce4fbb00b8dddc785b6761bc73aa89170093994.tar.bz2 csci4511w-fce4fbb00b8dddc785b6761bc73aa89170093994.tar.lz csci4511w-fce4fbb00b8dddc785b6761bc73aa89170093994.tar.xz csci4511w-fce4fbb00b8dddc785b6761bc73aa89170093994.tar.zst csci4511w-fce4fbb00b8dddc785b6761bc73aa89170093994.zip |
Add files via upload
Diffstat (limited to 'board2.py')
-rw-r--r-- | board2.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/board2.py b/board2.py new file mode 100644 index 0000000..1672ec8 --- /dev/null +++ b/board2.py @@ -0,0 +1,13 @@ +from random import *
+
+class Board: #A class for managing different situations and states happening in the game and on the board
+ def __init__(self, board):
+ self.board=board
+ def print_board(self):
+ for i in self.board:
+ for j in i:
+ print(j,end="")
+ print()
+ def play_move(r,c)
+ if(r%2==1):
+
\ No newline at end of file |