diff --git a/code_pfini.py b/code_pfini.py index 0191abe..39b8de6 100644 --- a/code_pfini.py +++ b/code_pfini.py @@ -11,7 +11,7 @@ def reussite(name, act): return tirs, tirs_reussies def points(x, y): - return 2 if sqrt(x**2 + (y-300)**2) < 300 or sqrt((x-1000)**2 + (y-300)**2) < 300 else 3 + return 2 if sqrt(x**2 + (y-300)**2) < 250 or sqrt((x-1000)**2 + (y-300)**2) < 250 else 3 def totalPoints(joueur): total_points = 0