kevinabrandon / kbWar

A simulation of the card game WAR!
MIT License
3 stars 0 forks source link

Bug on redistribution of cards after tie #11

Closed kevinabrandon closed 9 years ago

kevinabrandon commented 9 years ago

Very rarely two players will have a war, and they'll both run out of cards at the same time. In that case both players should get to split up the pot. Unfortunately the cards in the pot are being redistributed to everyone who started the turn, and not to the people who actually had the war.