A blackjack game accessible directly through SSH.
ssh cyberdeck.casinoThat's it.
┌─────────────────┐ ┌──────────────────┐ ┌─────────────────┐
│ │ SSH │ │ Exec │ │
│ Your Terminal ├────────►│ Wish Proxy ├────────►│ Blackjack.py │
│ │ :22 │ (Port 22) │ │ │
└─────────────────┘ └──────────────────┘ └─────────────────┘
│
│ Admin SSH
│ :2022
▼
┌──────────────────┐
│ Admin Access │
│ (Port 2022) │
└──────────────────┘
- Oracle Cloud Free Tier instance (or any VPS)
- Domain name
-
Launch Oracle Cloud instance with Oracle Linux
-
Run the setup script:
curl -sSL https://raw.githubusercontent.com/N-Erickson/blackjack/main/ocisetup.sh | sudo bash-
Point your domain to the server IP:
- Add A record:
@ → your-server-ip
- Add A record:
-
Play:
ssh cyberdeck.casino- Game Engine: Python 3
- SSH Server: Wish (Go)
- Terminal UI: ANSI escape codes
- Hosting: Oracle Cloud Free Tier
- Authentication: None required!
User Flow:
═════════
ssh cyberdeck.casino
│
▼
┌─────────────────────────┐
│ DNS Resolution │
│ cyberdeck.casino → IP │
└───────────┬─────────────┘
│
▼
┌─────────────────────────┐
│ Wish SSH Server │
│ Listening on :22 │
│ • Accepts any user │
│ • No password needed │
└───────────┬─────────────┘
│
▼
┌─────────────────────────┐
│ Python Subprocess │
│ blackjack.py │
│ • Full terminal I/O │
│ • ANSI color support │
└───────────┬─────────────┘
│
▼
🎰 PLAY! 🎰
- Starting balance: $500
- Minimum bet: $5
- All bets in $5 increments
- Dealer hits soft 17
- Blackjack pays 3:2
- Double after split allowed
- Split any pair (including 10-value cards)
- No insurance or surrender
- Full color support with cyberpunk theme
- ASCII card art
- Responsive to terminal size
For users without native SSH clients:
# Built-in OpenSSH (Windows 10+)
ssh cyberdeck.casino
# Or use PuTTY
- Multiplayer tables
- Poker variant
- Slot machines
- High score tracking
- Tournament mode
- Web-based terminal
- More casino games