reworked presentation

This commit is contained in:
taxicomics
2024-04-26 19:45:42 +00:00
parent 00a9debb4b
commit 96eae218c6
5 changed files with 20 additions and 6 deletions
+3 -3
View File
@@ -1,10 +1,10 @@
import statistics
def analyze_results(game_data):
def analyze_results(game_data,game_nr):
defect_str="X "
coorperate_str="O "
spacer_str="___"*len(game_data)
lines=["These are the results",spacer_str]
spacer_str=""*len(game_data)
lines=["Game "+str(game_nr)+":",spacer_str]
str1="Player 1: "
str2="Player 2: "
p_1_points=0