generated from mwc/project_game
25 lines
409 B
Python
25 lines
409 B
Python
class Cell:
|
|
|
|
color = "white"
|
|
|
|
def __init__(self, row, col, value):
|
|
|
|
self.row = row
|
|
self.col = col
|
|
self.value = value
|
|
|
|
board_x = 4
|
|
board_y = 2
|
|
|
|
board_x = 3
|
|
board_y = 2
|
|
|
|
x = board_x + (col * 2)
|
|
y = board_y + (row * 2)
|
|
|
|
self.position = (x, y)
|
|
|
|
self.character = str(value)
|
|
|
|
def play_turn(self, game):
|
|
pass |