From 6cb1a0049961d8847ac20733ceaede19328ba933 Mon Sep 17 00:00:00 2001 From: DE OLIVEIRA Noah Date: Fri, 8 Mar 2024 11:48:53 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'code=5Fpfini.py'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code_pfini.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code_pfini.py b/code_pfini.py index 39b8de6..0191abe 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) < 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): total_points = 0