Commit 664c1c06 authored by Maël RENAULT's avatar Maël RENAULT
Browse files

Update Execution.py

parent bc75f545
......@@ -7,32 +7,11 @@ from PyQt5.QtWidgets import *
if __name__ == "__main__":
grl = Classes.Grille()
ordi= Classes.Ordinateur()
hum= Classes.Humain()
grille=grl.génération(1000) #génération d'une grille inédite
grille=grl.supprimer_cases(30) #a du mal à trouver une grille adéquate autour de 40 cases supprimées
lst=[]
print(grille)
ordi.solve(grille)
print(ordi.solution)
import sys
app = QApplication(sys.argv)
calc = Grille_sudoku()
calc.charger_une_grille(grille)
calc.show()
sys.exit(app.exec_())
#ordi.solve(grille)
#print(ordi.solution)
"""
p = Classes.Partie(ordi)
p.nouvelle_partie_humain(100)
"""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment