From e18576aab0e103a1fc9f9524898c5079f5a42a76 Mon Sep 17 00:00:00 2001 From: hakimbh Date: Sun, 24 Jan 2021 17:32:35 +0100 Subject: [PATCH 1/3] =?UTF-8?q?hakimb2=20-=20ajout=20de=20l'=C3=A9cran=20d?= =?UTF-8?q?e=20victoire?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index a8f4b5f..346d80e 100644 --- a/main.py +++ b/main.py @@ -92,7 +92,7 @@ def change_label(buttons, row, col, answers, root, default_image, start_time): title="Success!", message="Time: " + str(time_passed) + " sec" ) # TODO: Montrer un écran de victoire au lieu de recommencer - # Code à utiliser : show_victory(root) + show_victory(root) buttons[row][col].after(1000, draw_board, root) else: buttons[row][col].after( From 318f82a85966c45acc661d2dc1814092224114f9 Mon Sep 17 00:00:00 2001 From: Thomas Gaudin Date: Sun, 24 Jan 2021 17:52:15 +0100 Subject: [PATCH 2/3] Update rules --- intro.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intro.py b/intro.py index c85b788..f660c0b 100644 --- a/intro.py +++ b/intro.py @@ -20,7 +20,7 @@ def choose_mode(): 2. Si les deux cartes sont identiques, elle resteront face visibles. 3. Sinon elles seront masquées. 4. Le jeu se termine lorsque toutes les cartes sont visibles. -5. A new game starts automatically. +5. Un écran de victoire s'affiche. 6. Press ENTER to change mode. 7. Press ESCAPE to exit. """, From fc69e64fc7244e1ff430b51f4db742eaf7b97221 Mon Sep 17 00:00:00 2001 From: Thomas Gaudin Date: Sun, 24 Jan 2021 18:11:56 +0100 Subject: [PATCH 3/3] Add gitignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit D'abord j'ai voulu faire comme ça Ensuite j'ai fait truc --- .gitignore | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index 35f655e..796bbf3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,7 @@ +compile.exe + +*.exe + .vscode # Created by https://www.toptal.com/developers/gitignore/api/python,virtualenv