mini-poker
v2.6.0
Published
Texas Hold'em in your terminal. Solo vs bots or online with friends.
Maintainers
Readme
♠♥ Mini Poker ♦♣
The ultimate Texas Hold'em in your terminal. Build a career from The Basement to the Billionaire's Yacht, grind Sit & Go tournaments, unlock achievements, or play your friends online with a room code.
Install once (Mac / Linux). No admin password needed, and it installs Node.js for you if it's missing:
curl -fsSL https://mini-poker.up.railway.app/install | shWindows (PowerShell):
irm https://mini-poker.up.railway.app/install.ps1 | iexThen, any time, in a new terminal:
mini pokerIt updates itself automatically, and solo modes work offline.
Or play instantly with no install at all (over SSH, built into Mac, Linux, and Windows 10+):
ssh -t -p 53121 [email protected]Game modes
| Mode | What it is | |---|---| | Career | Cash games at 5 venues with rising stakes. Your bankroll, stats and level are saved between sessions. | | Sit & Go | 6-player tournaments where blinds rise every few hands and the top 3 get paid. Includes a free Turbo Freeroll. | | Blackjack | 6-deck shoe where blackjack pays 3:2. Double, split up to 4 hands, surrender, insurance, and a basic-strategy coach. Uses your career bankroll. | | Quick Play | Free chips with your own table settings (bots, stack, blinds). | | Online | Private tables with 4-letter room codes, chat, reconnect, and bots to fill seats. | | LAN | Host on your Wi-Fi with no internet server needed. |
Features
- Full No-Limit Hold'em rules: side pots, split pots, min-raises, all-in runouts, and the correct heads-up order
- Detailed cards: rounded corners, pip layouts like real cards, illustrated face cards, extra-large cards for your own hand on big terminals, and 6 card-back designs with an animated sheen
- Animated table: cards deal from the deck, the flop flips, and chips slide into the pot and over to the winner
- 6 felt colors and an optional 4-color deck
- Synthesized sound effects: chip clicks, card flicks, a shuffle, knocks, a win fanfare, and an all-in rumble. Volume is adjustable
- Bots with personalities: Tight, TAG, Maniac, Loose, and Pro, using Monte-Carlo equity and pot odds. Bots get tougher at higher stakes
- Game speed: Relaxed, Normal, Fast, or Turbo. After you fold, you can watch the rest of the hand, fast-forward, or skip to the next hand. You can also choose to press Space to deal each hand
- Progress: XP, levels and titles (Fish to Poker God), detailed stats, and 38 achievements
- Poker coach (
G) suggests a move on your turn, and a pot-odds helper shows the price of every call - Accounts & leaderboard on the shared server: everyone logs in with their own username and PIN
- Mouse support: click buttons and menus
- TV-style all-in equity, plus a live win-odds meter (
O) - Daily reset: finish the day under $10,000 and you're topped back up to $10,000 after midnight, plus a +$1,000 login bonus each day
- Autosave after every hand and every 20 seconds. Saves are crash-safe: if the game quits mid-session, chips you had on the table go back to your bankroll
- Works at 80×24 and scales up for bigger terminals
Playing with friends
| You want to… | Command |
|---|---|
| Open the menu | npx mini-poker |
| Create an online table | npx mini-poker host |
| Join a friend's table | npx mini-poker join K7QX |
| Host on your Wi-Fi | npx mini-poker lan |
| Join a Wi-Fi game | npx mini-poker lan 192.168.1.20 |
Controls
| Key | Action |
|---|---|
| F | Fold |
| C / Space | Check / Call |
| R | Bet / Raise: ←→ ±1 BB, ↑↓ ±5 BB, 1 ½ pot, 2 ¾ pot, 3 pot, 4 max, Enter to confirm |
| A | All-in (confirm with Enter) |
| Esc | Pause menu: speed, sound, settings, leave the table |
| H | Hand log |
| O | Win-odds meter |
| T | Chat (online) |
| B | Rebuy |
Offline play
After npm install -g mini-poker, the mini-poker command needs no internet for Career, Sit & Go, or Quick Play. To play friends with no internet, put everyone on the same Wi-Fi or phone hotspot. One person picks Host on my Wi-Fi and the others pick Join a LAN game.
Running your own server
npx mini-poker server # WebSocket on $PORT (7777) + SSH on $SSH_PORT (2222)
npx mini-poker --server ws://your-host:7777Saves live in ~/.mini-poker/. MIT licensed.
