2 changed files with 5 additions and 9 deletions
			
			
		@ -0,0 +1,5 @@ | 
				
			|||||
 | 
					from afficheStats import afficheStats | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					if __name__ == "__main__": | 
				
			||||
 | 
					    joueur = input("Entrez le nom du joueur : ") | 
				
			||||
 | 
					    afficheStats(joueur) | 
				
			||||
@ -1,9 +0,0 @@ | 
				
			|||||
from math import sqrt | 
					 | 
				
			||||
def point(x, y): | 
					 | 
				
			||||
    distance = 300 | 
					 | 
				
			||||
    if x<500 and sqrt((x-300)**2+y**2)> distance: | 
					 | 
				
			||||
        return 2 | 
					 | 
				
			||||
    elif x > 500 and sqrt((x - 300)**2+(y + 1000)**2)> distance: | 
					 | 
				
			||||
        return 2 | 
					 | 
				
			||||
    else: | 
					 | 
				
			||||
        return 3 | 
					 | 
				
			||||
					Loading…
					
					
				
		Reference in new issue