|
@ -11,7 +11,7 @@ def reussite(name, act): |
|
|
return tirs, tirs_reussies |
|
|
return tirs, tirs_reussies |
|
|
|
|
|
|
|
|
def points(x, y): |
|
|
def points(x, y): |
|
|
return 2 if sqrt(x**2 + (y-300)**2) < 250 or sqrt((x-1000)**2 + (y-300)**2) < 250 else 3 |
|
|
return 2 if sqrt(x**2 + (y-300)**2) < 300 or sqrt((x-1000)**2 + (y-300)**2) < 300 else 3 |
|
|
|
|
|
|
|
|
def totalPoints(joueur): |
|
|
def totalPoints(joueur): |
|
|
total_points = 0 |
|
|
total_points = 0 |
|
|