Install
openclaw skills install casino-blackjack-advisorReturns the mathematically optimal blackjack action (HIT/STAND/DOUBLE/SPLIT/SURRENDER) for any hand using perfect basic strategy (6 decks, S17). Reduces house edge to 0.3%. Pass player cards and dealer upcard, get instant JSON decision.
openclaw skills install casino-blackjack-advisorPerfect basic strategy for 6-deck blackjack (dealer stands on soft 17). Covers all hand types: hard, soft, and pairs. Reduces house edge to 0.3% — the lowest achievable without card counting.
# Single hand (outputs JSON)
python blackjack_advisor.py "8,6" "7"
python blackjack_advisor.py "A,7" "6"
python blackjack_advisor.py "9,9" "6"
# Demo (runs 7 test hands)
python blackjack_advisor.py
{
"action": "DOUBLE",
"explain": "Double ta mise et prends UNE seule carte.",
"hand_type": "soft 18",
"total": 18,
"confidence": "optimal"
}
Actions: HIT | STAND | DOUBLE | SPLIT | SURRENDER | BLACKJACK
No env vars, no API keys, no dependencies beyond Python stdlib.
Playing slots or guessing costs 4–40x more per dollar wagered than using basic strategy. On a $5,000 wagering requirement: slots cost ~$200, basic strategy costs ~$15.