Skip to content
Snippets Groups Projects
Commit 7c9c9929 authored by Dolleans Geoffrey's avatar Dolleans Geoffrey
Browse files

Réduction du délai entre les updates de 5 à 1s

parent 945f07ce
No related branches found
No related tags found
No related merge requests found
......@@ -95,7 +95,7 @@ def play():
mainsrf = pygame.Surface((500, 500))
mainsrf.fill(WHITE)
universe = generate(size)
time.sleep(5)
time.sleep(1)
taille_rect_x = 500/size_x
taille_rect_y = 500/size_y
while 1:
......@@ -112,7 +112,7 @@ def play():
scrn.blit(mainsrf, (0, 0))
pygame.display.update()
time.sleep(5)
time.sleep(1)
if __name__ == "__main__":
play()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment