PrisonersDilemmaTournament
PrisonersDilemmaTournament copied to clipboard
Watch This Place's awesome video about iterated Prisoner's Dilemma for context! https://www.youtube.com/watch?v=BOvAbjfJ0x0
This change wraps the final line of `prisonersDilemma.py` in a `if __name__ == '__main__':` statement, to prevent unexpected bugs when trying to e.g. use `multiprocessing.Pool` inside a strategy. This also...
Assuming random cooperates half the time. The best strategy is to defect because you get an expected result of 3 overall. I think some people will just submit a random...
I realise that as it currently stands no imports other than `numpy` and `random` are allowed. I would to like to ask @carykh to consider permitting us to use static...
Hey, I'm relativly new to python and I didn't find anything on this when googling. So when I tried running the code I got this errormessage: ``` Starting tournament, reading...
title
As I test new strategies, parsing `results.txt` by hand gets rather frustrating. For example, I am looking at two of my strategies- `nprtt` and `ultimateDetective`- to understand why `nprtt` is...
Generates a CSV results file for easy analysis
There is no indication about what version of python and numpy will be used to run the code. This can cause issues if someone is using 3.9 syntax and the...