Explorar el Código

chapitre1-challenge1

chapitre1-challenge1
Jen hace 3 años
padre
commit
684f003e54
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. +3
    -3
      birdie.py

+ 3
- 3
birdie.py Ver fichero

@@ -1,6 +1,6 @@
import pgzrun
TITLE = "Paf l'oiseau"
WIDHT = 400
WIDTH = 400
HEIGHT = 708

def draw():
@@ -9,10 +9,10 @@ def draw():

def on_mouse_down():
print('Clic souris !')
titi.y -= 50
titi.x -= 50

def update():
titi.y += titi.speed
titi.x += titi.speed




Cargando…
Cancelar
Guardar