carykh / PrisonersDilemmaTournament

Watch This Place's awesome video about iterated Prisoner's Dilemma for context! https://www.youtube.com/watch?v=BOvAbjfJ0x0
MIT License
205 stars 159 forks source link

Restricting return values #46

Closed duckboycool closed 3 years ago

duckboycool commented 3 years ago

Fixes #44 where strategies can return values that have ambiguous truthiness to mess up other strategies.

Should allow for the normal 0 and 1, the specific strings, or other common values such as False and True.

duckboycool commented 3 years ago

45 Opened right before.

l4vr0v commented 3 years ago

Oof, I was about to close #45 because you commented your code in this one.