SSH Clue β a multiplayer Clue-like deduction game played over SSH, themed around the AI industry's fight for GPUs. Humans play via TUI, AI coding agents play via JSON protocol.
Sponsored by πͺ· Lily β safe terminal access for AI agents.
# Build
make build
# Run (default: localhost:23234)
make run
# Custom host/port
HOST=0.0.0.0 PORT=12345 ./bin/ssh-cluessh -p 23234 localhostNavigate the menu β pick a 3-letter name β Create/Join/Quickplay.
ssh -p 23234 localhost -- jsonThe bot.py script is a simple autonomous player:
# Terminal 1: Start server
make run
# Terminal 2: Create a room as a human
ssh -p 23234 localhost
# β Create Game β enter name β note room code (e.g. "ABCD")
# Terminal 3: Add a bot
python3 bot.py ABCD --name BOT
# Terminal 4: Add another bot
python3 bot.py ABCD --name BT2
# Back to Terminal 2: Start the game!
# Or β bots create and auto-start:
python3 bot.py --create --name BOT --auto-start
python3 bot.py <code> --name BT2
python3 bot.py <code> --name BT3
# Bot 1 will auto-start when 3+ players joined# Start server
make run
# Bot 1 creates
python3 bot.py --create --name ALF --auto-start &
# Grab the room code from output, then:
python3 bot.py <CODE> --name BRV &
python3 bot.py <CODE> --name CPX &
wait| Command | Mode |
|---|---|
ssh clue.cool-bench.io |
TUI game |
ssh clue.cool-bench.io -- json |
Agent JSON protocol |
ssh clue.cool-bench.io -- join CODE |
TUI auto-join room |
ssh clue.cool-bench.io -- quickplay |
TUI quickplay |
| Var | Default | Description |
|---|---|---|
HOST |
localhost |
Listen address |
PORT |
23234 |
Listen port |
DB_PATH |
ssh-clue.db |
SQLite database path |
21 cards β suspects, weapons, and rooms, all themed around the AI industry's battle for GPUs:
- Suspects: Sam Altman, Greg Brockman, Dario Amodei, Demis Hassabis, Elon Musk, Jensen Huang
- Weapons: Insider Trade, Social Engineering, Midnight Heist, Supply Chain Attack, Shell Injection, Crypto Ransom
- Rooms: OpenAI HQ, xAI Bunker, NVIDIA HQ, DeepMind Lab, Anthropic Office, Sequoia Capital, Y Combinator, NeurIPS Conference, Data Center (NV-L4)
Board: 3Γ3 grid with secret passages (OpenAI HQ β Y Combinator, NVIDIA HQ β Data Center).
clue.ssh/
βββ main.go β Hub, matchmaking, session routing, JSON handler
βββ board.go β TUI: lobby, waiting, board, notes, game over views
βββ title.go β TUI: title screen, leaderboard screen
βββ name.go β TUI: 3-letter name input
βββ engine/game.go β Clue game engine (deal, move, suggest, accuse, score, timer)
βββ protocol/messages.go β JSON protocol types
βββ leaderboard/db.go β SQLite leaderboard persistence
βββ theme/cards.go β 21 themed cards + board layout
βββ bot.py β Autonomous test bot
βββ Makefile
βββ ARCHITECTURE.md
Score = 100 Γ (1 + 0.15 Γ (players - 3)) - turn_penalty - suggestion_penalty
Minimum score: 10.