#Flechettes# import time import random from math import * from Tkinter import * p=0 # nombres de points au départ def clic():#fonction qui calcul les points et qui déplace l'image# if X-100+Y-100<20 : p=p+50 elif 2015: ecoule=Label(text='time up') #esthetique# start=Button(text="Lancer le temps",command=chrono) start.pack() found=Canvas(width=800,height=800,bg="white") found.pack() found.bind('',clic) ficherimg=PhotoImage(file="mjAA.gif") img=found.create_image(200,200,image=ficherimg) chrono1=Label(fen1,text="TEMPS") chrono1.place(x=400,y=0) p=Label(text=str(p)+"POINTS") p.place(x=300,y=0) fen1.mainloop()