aboutsummaryrefslogtreecommitdiffstats
path: root/board2.py
blob: 1672ec8cdd393605c0e7b6c99b2e6ce906996ba1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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):