Last active
September 15, 2017 16:13
-
-
Save jbwhit/1dfe64babbc007f231ad520717299d4d to your computer and use it in GitHub Desktop.
Yep, I think you're right. I'll update.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Suppose the players' decks contain one card each, an ace and a two. Then the game should last one round. But play_turn will return False in the first round, so your turn count will be 2. I think you over-count by one round every game except those that end because a player has insufficient cards to do a battle. Right? I think the only games you see an even count for are those where the losing player has 2 too few cards.