broology / poker-moons

Free online poker with friends without the hassle.
4 stars 3 forks source link

fix(winner-determiner): handle case where everyone folds #192

Closed mlevi15 closed 2 years ago

mlevi15 commented 2 years ago

Proposed Changes

Fixes the issue where the winner determiner was throwing a bad request exception in the case where someone wins after everyone else has folded.

Also fixes another issue I found where the pot wasn't being distributed correctly in certain cases.

Linked Issue

fixes #184

Types of changes

Merge Checklist