PotLog

Settles home poker games with as few transfers as it can.

Visit website View source code

Kotlin, Ktor, MongoDB, React, TypeScript

At the end of a home game, somebody has to work out who pays whom. PotLog records buy-ins and cash-outs while you play, then gives you a short list of transfers.

  • A session has a short numeric ID, so others can join by typing it in.
  • If the chips don't add up, the difference can go to the biggest winner or be split in proportion to winnings.
  • A greedy algorithm matches debts to keep the number of transfers low.
  • Payments made during the game are deducted, and a settled session can be reopened without losing them.

All amounts are whole cents, so nothing is lost to rounding.