modif du game.json
ajout de la variable de difficulté modif todolist
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "",
|
||||
"version": "0.0.1",
|
||||
"version": "0.1.0",
|
||||
"author": "popkex",
|
||||
"icon": "",
|
||||
"entry": "src/main.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)
|
||||
|
||||
+18
@@ -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
|
||||
Reference in New Issue
Block a user