start the gui using turtle

This commit is contained in:
2025-11-19 15:43:47 +01:00
parent b72f990af1
commit dc852987b7
4 changed files with 72 additions and 4 deletions

View File

@@ -1,6 +1,5 @@
from mailbox import linesep
import board as bd
import drawer as dw
def creerGrille(N, M, v=0):
@@ -31,6 +30,12 @@ def getCoords(known_grid, N, M):
return bd.get_coords(known_grid)
def main2():
grid = creerGrille(8, 8)
placerMine(grid, 10)
dw.draw_board(grid)
def main() -> None:
N, M = 8, 8
grid = creerGrille(N, M)
@@ -64,4 +69,4 @@ def main() -> None:
known_grid[coord[1]][coord[0]] = True
main()
main2()