KUHNPOKER(3,r,m,n)

This game is played with a deck of 12 cards, four Js, four Qs, four Ks. Ann moves first by either checking or raising.

  • If Ann checks, then Beth can check or raise.
    • If Beth checks, both cards are revealed and the player with the higher card wins the pot, splitting it again equally in case of a draw.
    • If Beth raises, she increases the bet to n. Then Ann has two options, she can either fold or call.
      • If Ann folds, Beth gets the pot money of n+m. Again Ann's card is not revealed.
      • If Ann calls, she also increases her bet to n. Then both cards are revealed, and the player with the higher card gets the money of 2n, splitting the money in case of a draw.
  • If Ann raises, she increases the bet to n. Then Beth has two options, she can either fold or call.
    • If Beth folds, Ann gets the pot money of n+m, i.e. wins m. Beth's card is not revealed in that case.
    • If Beth calls, she also increases her bet to n. Then both cards are revealed again, and the player with the higher card gets the money of 2n, i.e. wins n. Again, in case of a draw the money is split equally.

Before playing, you can change the number r of duplicate cards, the minimum bet m, the raised bet n, and the computer opponent. If the game is played repeatedly, the role of first moving Ann alternates.

Parameters:

S:3
r:
Ante (minimum bet) m:
Raised bet: n:

Computer Opponent:

Money:
when Left starts:
when Right starts:
Money:
when Left starts:
when Right starts:
Computer checks
Computer raises
Computer calls
Computer folds
Computer wins
Draw
You win
END OF GAME. YOU LOST.
END OF GAME: YOU WON.


Erich Prisner, 2012