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

28
sudoku.py Normal file
View File

@@ -0,0 +1,28 @@
from retro.game import Game
from board import Board
from border import Border
def main():
board = Board()
board.generate()
agents = []
agents.extend(Border.create_borders())
agents.extend(board.cells)
game = Game(
agents,
{"score":0},
board_size=(15, 25)
)
game.play()
if __name__ == "__main__":
main()