Card Game Engine
← portfolio

Punto Banco

Baccarat is a game of pure chance — no decisions after you bet. Your only job is to choose where to put your money.

  • Player — bet the Player hand wins. Pays 1:1.
  • Banker — bet the Banker hand wins. Pays 1:1 (minus 5% commission). Banker wins slightly more often.
  • Tie — both hands equal. Pays 8:1. Rare. Tempting. Usually wrong.

Card values: Ace = 1, 2–9 = face value, 10/J/Q/K = 0. Hand value is the last digit of the total — so 7+6=13, value is 3. Closest to 9 wins.

Each hand starts with 2 cards. A natural 8 or 9 ends play immediately. Otherwise a third card may be drawn automatically based on fixed tableau rules — no choices involved.

Use the chips to build your bet, pick your side, then hit Deal.

Texas Hold'em

You and 3 opponents each get 2 private hole cards. Five community cards are dealt in stages. Make the best 5-card hand from any combination of your 2 and the 5 community cards.

Stages: Preflop → Flop (3 community cards) → Turn (1 more) → River (1 more) → Showdown.

Between each stage there is a betting round. On your turn:

  • Check — no bet required, pass to next player.
  • Call — match the current bet to stay in.
  • Raise — increase the bet. Others must call or fold.
  • Fold — give up your hand. You lose what you've put in.
  • All In — bet everything you have.

Hand rankings (best to worst): Royal Flush · Straight Flush · Four of a Kind · Full House · Flush · Straight · Three of a Kind · Two Pair · Pair · High Card.

Presidents & Assholes

Get rid of all your cards first. The goal is simple — the last person holding cards loses.

Card ranking (low → high):

3 · 4 · 5 · 6 · 7 · 8 · 9 · 10 · J · Q · K · A · 2

Suits don't matter for rank. A 7♠ and a 7♥ are equal.

On your turn:

  • If the pile is empty, lead anything — one card or multiple cards of the same rank.
  • To beat the pile, play the same number of cards at a higher rank. If two 8s are on the pile, you must play two of something higher.
  • If you can't or won't beat it, hit Pass.
  • When all other players pass, the pile clears and you lead fresh.

Special rules:

  • 2s — a 2 (or multiple 2s) beats anything and immediately clears the pile. You lead next.
  • Revolution — play four of a kind and the ranking flips. 3 becomes the highest card, 2 the lowest. Another four of a kind flips it back.

Sort your hand using the buttons above your cards — by Rank to find playable sets, by Suit to count your spades or clubs.

Roles carry over into the next round:

  • President (1st out) — plays first, receives the Asshole's two best cards.
  • Vice President (2nd) — receives one card from Vice Asshole.
  • Neutral (3rd) — no exchange.
  • Vice Asshole (4th) — gives one card to Vice President.
  • Asshole (last) — gives their two best cards to the President, deals next round.

C-Lo (Ceelo)

A street dice game. You and one opponent each roll three dice. Best result wins the round. Bet chips before rolling.

Results ranked best to worst:

  • 4-5-6 — automatic win. Unbeatable.
  • Trips (e.g. 3-3-3) — three of a kind. Higher trips beat lower.
  • Point (e.g. 1-2-4) — two matching dice set a point (1–6). Higher point wins.
  • 1-2-3 — automatic loss. Unbeatable loss.
  • No point (e.g. 1-2-5) — no pair, no special combo. Must re-roll.

Each player rolls up to 3 times per round to get a valid result. If still no result after 3 rolls, it's a tie — bets returned.

Hit Roll on your turn. Watch your opponent roll. Highest result wins the pot.