added sudoku logic, trying to get board to print

This commit is contained in:
kated
2026-06-02 10:25:31 -04:00
parent a9bedb4cde
commit 8b907c3571
11 changed files with 279 additions and 0 deletions

25
cell.py Normal file
View File

@@ -0,0 +1,25 @@
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