From 7533c1191c7edc46e5fef03bd8265949f6dfccbc Mon Sep 17 00:00:00 2001 From: popkex Date: Sat, 27 Jun 2026 13:14:06 +0200 Subject: [PATCH] =?UTF-8?q?modif=20du=20game.json=20ajout=20de=20la=20vari?= =?UTF-8?q?able=20de=20difficult=C3=A9=20modif=20todolist?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game.json | 2 +- src/game.py | 1 + src/main.py | 18 ++++++++++++++++++ 3 files changed, 20 insertions(+), 1 deletion(-) diff --git a/game.json b/game.json index adf86cc..f2e5b09 100644 --- a/game.json +++ b/game.json @@ -1,6 +1,6 @@ { "name": "", - "version": "0.0.1", + "version": "0.1.0", "author": "popkex", "icon": "", "entry": "src/main.py", diff --git a/src/game.py b/src/game.py index a1af5c8..a2cd9ad 100644 --- a/src/game.py +++ b/src/game.py @@ -12,6 +12,7 @@ class Game: self.FPS_MAX: int = 60 self.running = True + self.difficulty = 0 # 0: facile, 1: normal, 2: difficile, change uniquement l'intelligence du bot self.player: Player = Player(self.screen_manager) self.bot: Player = Player(self.screen_manager, is_ai=True) diff --git a/src/main.py b/src/main.py index c454087..0739b2d 100644 --- a/src/main.py +++ b/src/main.py @@ -8,6 +8,7 @@ TODO - faire un highscore (avec la gestion de l'utilisateur et les saves) - faire le systeme de succes - mettre un easter egg + - me crediter :) """ import pygame @@ -31,3 +32,20 @@ while running: if game.run() == -1: running = False pygame.quit() + + + +# /\ +# p q +# _\| \ / |/_ +# \// \\/ +# `| |` +# | | ,/_ +# _\, | |//\ +# /\\| ;/ +# \; \ +# '. \ +# .-. \ | +# ` '.__// +# `"` +# LIZARD GAMES \ No newline at end of file