Closed astropingo closed 3 years ago
It's 200, the length of the game is defined as 200-40*log(x), x being a random value from 0 to 1
Between 200 and 1765
Between 200 and 1765
For more on this, see #11
It's 200, the length of the game is defined as 200-40*log(x), x being a random value from 0 to 1
Isn't log of zero, undefined?
It's 200, the length of the game is defined as 200-40*log(x), x being a random value from 0 to 1
Isn't log of zero, undefined?
Yes; see #3
Between 200 and 1765! It's set up so that you know 200 rounds will happen for sure, but after that, there's an exponential dropoff (equal probability of ending each round) so you can't guess when it's going to end reliably.
Also, sorry for the contradiction from the comment! Forget the number "50", it's supposed to say "200". It should be fixed now!
On /code/prisonersDilemma.py, line 44 the comment says it will guarantee 50 turns:
The games are a minimum of 50 turns long. The np.log here guarantees that every turn after the 50th has an equal (low) chance of being the final turn.
But on readme.md it says it is guaranteed to be at least 200 turns:
This means each game is guaranteed to be at least 200 turns long.
Which one is correct? I assume the 200, but both information are inconsistent.