one-poker
Note: this contains some mild spoilers for the Kaiji manga.
9/5/2022 - 1.0 release.
This is a mostly faithful recreation of the One Poker game from Kaiji. If there are any discrepancies, let me know. It's possible that in the manga, anyone was able to raise first, but for the sake of the game I gave priority to the previous round winner (or random for first turn). The AIs are pretty simple and the first one just randomly picks a card and check/calls, so it's good for testing the entire game state since you can make it go all in every game.
Short summary of the rules:
1) Three standard poker decks with the jokers removed are randomly mixed together, and cut in half. One of the deck halves is used for the game, so it is not possible to card count. Each player is dealt two cards. Cards 2-7 are DOWN cards, and 8-Ace are UP cards. The lights on each side of the player publicly displays how many UP and DOWN cards the player has. One life is put into the pot from each player as an ante.
2) One card is picked by both sides in any order face down, after which the betting phase begins. The previous winner gets to bet first.
3) Players are able to bet as many lives as they have left, up to the amount of lives the other player has left. The other player can fold, call, or raise. Calling/raising requires clicking on the lives first.
4) The betting round ends when a player folds, calls an all in, or checks. Both players must check for the round to end, and there is no limit to the amount of times you can raise during a round. This means that unlike regular texas hold-em poker, calling does not end the round.
5) When the betting round ends, both players reveal their cards regardless of the result of the betting round. If there was no fold, then the higher card wins. In the case of a tie, players take back their lives and the card dealing / betting priority is unchanged for the next round.
6) The only exception to a higher card winning is that a 2 beats an Ace.
7) The winner, assuming the game isn't over, will receive the next card first, and will be able to bet first.
Leave a comment
Log in with itch.io to leave a comment.