afk-blackjack
v0.1.0
Published
Terminal blackjack for the afk-arcade — 3:2, stand-soft-17, strategy hints. npx afk-blackjack
Downloads
12
Readme
afk-blackjack
Blackjack at a 39-column terminal table — a game for the afk-arcade to play while your AI agent finishes the job. Practice chips for now; arcade credits later.
npx afk-blackjackThe table
- 6-deck shoe, blackjack pays 3:2, dealer stands on all 17s
- Double any first two cards, double after split, split once, insurance
- Basic-strategy hints glow on the suggested key — toggle with
? - ~99.4% return with perfect play, verified by a seeded 2M-hand Monte Carlo simulation
Keys
↑/↓ bet · enter deal · h hit · s stand · d double · p split ·
i/n insurance · r rebuy (when broke) · ? hints · q quit
Practice chips
You start with 200 practice chips in ~/.afk-blackjack.json. They're play
money — when you go broke, r refills the stack. Real arcade credits are
coming once the platform credit system ships.
Agent beacon
Launched inside the afk-snake/afk-arcade side pane, the table shows a
"YOUR AGENT IS READY" card when your agent finishes (the shared
pidfile + SIGUSR2 protocol). enter hops back to your agent.
MIT
