diff --git a/birdie.py b/birdie.py index e95fcfe..e82cbab 100644 --- a/birdie.py +++ b/birdie.py @@ -13,13 +13,10 @@ def draw(): screen.blit('background', (0, 0)) titi.draw() -def on_mouse_up(): - print('Clic souris !') - titi.speed = 0 - - def update(): titi.x += titi.speed + if titi.left > WIDTH : + titi.right = 0 titi.speed = 3