From 06d71309c8f53b7ffcc2bbf5a434e706af05a18b Mon Sep 17 00:00:00 2001 From: fronzon <90678993+fronzon@users.noreply.github.com> Date: Sat, 26 Mar 2022 18:08:33 +0100 Subject: [PATCH 1/2] =?UTF-8?q?ajout=20niveau=20tr=C3=A8s=20difficile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- intro.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/intro.py b/intro.py index c85b788..08c65b9 100644 --- a/intro.py +++ b/intro.py @@ -90,13 +90,13 @@ def choose_level(): ) lvl2.pack(side=LEFT) # TODO: Ajouter un mode très difficile - # lvl3 = Button( - # text="DIFFICILE", - # width="15", - # height="5", - # bg="lavender", - # command=lambda rows=5, cols=8: clicked(rows, cols, level_root, chosen_level), - # ) - # lvl3.pack(side=LEFT) + lvl3 = Button( + text="DIFFICILE", + width="15", + height="5", + bg="lavender", + command=lambda rows=5, cols=8: clicked(rows, cols, level_root, chosen_level), + ) + lvl3.pack(side=LEFT) level_root.mainloop() return chosen_level From 6483cc1e960c61de6d5706fe2af2fdab14898cc2 Mon Sep 17 00:00:00 2001 From: Thomas Gaudin Date: Sat, 26 Mar 2022 18:29:11 +0100 Subject: [PATCH 2/2] Indication des 4 niveaux --- intro.py | 1 + 1 file changed, 1 insertion(+) diff --git a/intro.py b/intro.py index 08c65b9..5b58d8f 100644 --- a/intro.py +++ b/intro.py @@ -20,6 +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. +4.5 Il y a 4 niveaux de difficulté. 5. A new game starts automatically. 6. Press ENTER to change mode. 7. Press ESCAPE to exit.