1 changed files with 14 additions and 6 deletions
@ -1,7 +1,15 @@ |
|||||
import tkinter as tk |
# Un très beau rendu. C'est dommage qu'on ne voit pas les cartes à l'envers pour la bataille ;-) |
||||
from gui.gui import BatailleGUI |
# L'idée du jeu automatique est bonne (même si la méthode after n'est pas la plus adaptée) |
||||
|
# méthode Carte.compare non utilisée ... |
||||
if __name__ == "__main__": |
# méthode Jeux.distribue : utilisation de enumerate non vue en classe |
||||
root = tk.Tk() |
# while True ... break maladroit |
||||
app = BatailleGUI(root) |
|
||||
|
# Note : 19 |
||||
|
|
||||
|
import tkinter as tk |
||||
|
from gui.gui import BatailleGUI |
||||
|
|
||||
|
if __name__ == "__main__": |
||||
|
root = tk.Tk() |
||||
|
app = BatailleGUI(root) |
||||
root.mainloop() |
root.mainloop() |
Loading…
Reference in new issue