Merge pull request 'Update du nombre d'essais au tricheur' (#50) from tricheur into main

Reviewed-on: #50
This commit is contained in:
Raphaël 2023-10-30 15:52:41 +00:00 committed by Gitea
commit ad9b1159a3
No known key found for this signature in database

View file

@ -107,7 +107,7 @@ def __initialize_world(world: World):
TextSize(100), TextSize(100),
NombreEssaiText(), NombreEssaiText(),
COLOR_TEXT, COLOR_TEXT,
Text("il reste : 7 essais"), Text("il reste : 10 essais"),
) )
# Bouton pour revenir au menu # Bouton pour revenir au menu
@ -120,7 +120,7 @@ def __initialize_world(world: World):
) )
# Les ressources. # Les ressources.
world[NombreEssai] = NombreEssai(7) world[NombreEssai] = NombreEssai(10)
world[RandomNumber] = RandomNumber(random.randint(0, 99)) world[RandomNumber] = RandomNumber(random.randint(0, 99))
world[IsRunning] = IsRunning() world[IsRunning] = IsRunning()