helrick / premeditated-goofspiel

Programs and files relating to the Premeditated Goofspiel Tournament created for the MATH 339: Evolutionary Game Theory Final Project

Home Page:https://docs.google.com/document/d/1eE_9hNfrk9RJ3_xIrBr3l9vjXpzaBmGqZN_7TD_DCww/edit?usp=sharing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

premeditated-goofspiel

Files and programs associated with running a Premeditated Goofspiel Tournament

To run a tournament with n human teams:

  1. Number the teams from 1-n
  2. Put their strategies in the vector form [1 2 3 etc.]
  3. One team's strategy per line
  4. Run the Goofspiel.py file
  5. The results will be stored in the .csv file Results.csv
  6. Repeat steps 2-4 for as many iterations of the tournament as required, Copy and save the scores from Results.csv to prevent loss of data

To simulate a tournament with agents, using a modified genetic algorithm to change their strategies:

  1. Run the 'genStrategies.py' file
  2. Run the 'runTournament.py' file (best overscore score for one round against all other agents will be printed)
  3. The results will be stored in the .csv file GeneticResults.csv (the default is to run 200 iterations of the genetic algorithm)

About

Programs and files relating to the Premeditated Goofspiel Tournament created for the MATH 339: Evolutionary Game Theory Final Project

https://docs.google.com/document/d/1eE_9hNfrk9RJ3_xIrBr3l9vjXpzaBmGqZN_7TD_DCww/edit?usp=sharing


Languages

Language:Python 100.0%