diff options
Diffstat (limited to '')
-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 |