Este sítio funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Inscrição
Iniciar sessão
Jen
/
paf-loiseau
Vigiar
1
Marcar como favorito
0
Derivar
0
Código
Questões
0
Pedidos de integração
0
Lançamentos
0
Wiki
Trabalho
Ver a proveniência
chapitre1-challenge1
chapitre1-challenge1
Jen
há 3 anos
ascendente
c467f320ff
cometimento
684f003e54
1 ficheiros alterados
com
3 adições
e
3 eliminações
Visualização em 2 colunas
Opções das diferenças
Mostrar estatísticas
Descarregar ficheiro patch
Descarregar ficheiro diff
+3
-3
birdie.py
+ 3
- 3
birdie.py
Ver ficheiro
@@ -1,6 +1,6 @@
import pgzrun
TITLE = "Paf l'oiseau"
WID
H
T = 400
WIDT
H
= 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
Escrever
Pré-visualizar
Carregando…
Cancelar
Guardar