|
|
|
@ -38,7 +38,7 @@ def totalPoints(joueur): |
|
|
|
with open('stats.txt','r') as fichier_stat: |
|
|
|
for ligne in fichier_stat: |
|
|
|
ligne_separe = ligne.split(" ") |
|
|
|
if ligne_separe[0]==joueur: |
|
|
|
if ligne_separe[0]==joueur and ligne_separe[1]== 'tir-reussi': |
|
|
|
ligne_separe[2]= x |
|
|
|
ligne_separe[3]= y |
|
|
|
totpoints=totpoints+points(x,y) |
|
|
|
|