Improved usability

removed herobrine
This commit is contained in:
taxicomics
2024-04-26 18:37:23 +00:00
parent 56f499c67a
commit 4cc2362dbb
4 changed files with 29 additions and 6 deletions
+12 -3
View File
@@ -9,10 +9,19 @@
import helper_functions
import contenders
#vars
#keeping track of the individual games
games=[]
#keeping track of the games scores for later analysis
scores=[]
nr_of_rounds=30
nr_of_games=300
function1=contenders.random_positive_leaner
function2=contenders.random_positive_leaner
#XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
# Put YOUR function down below
#XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
helper_functions.play_game( games,contenders.random_positive_leaner , contenders.my_winning_function ,30)
helper_functions.analyze_results(games)
for i in range(nr_of_games):
helper_functions.play_game( games,function1,function2,nr_of_rounds)
scores.append(helper_functions.analyze_results(games))
games=[]
helper_functions.analyze_scores(scores)