Muggins is an open-source cribbage AI with provably optimal discards, a trained neural pegging model, and transparent RNG. No ads. No rigged deals. Just strong, honest cribbage.
10,000 games against Myrmidon, the strongest agent in the Moulton cribbage RL framework. Alternating seats, seeded RNG, Wilson confidence intervals. Reproducible and open.
| Matchup | Win Rate | 95% CI | Per-Hand Differential |
|---|---|---|---|
| Muggins vs Myrmidon | 69.5% | 68.6% – 70.4% | +1.21 pts/hand |
| Muggins vs Random | 98.8% | 98.2% – 99.2% | — |
| Myrmidon vs Random | 96.7% | 95.8% – 97.4% | — |
Provably optimal discards and learned pegging. The exact EV calculator evaluates all 15 possible keeps across all 46 starters. The neural model handles the rest.
Every possible keep scored against every possible starter. Position-aware endgame strategy. Not sampling, not heuristics. Exact combinatorics.
116-dimensional feature vector encoding threats, opponent inference, and board position. Trained on millions of games. 95.1% prediction accuracy.
Cryptographic RNG with verifiable deal hashes. Every deal can be independently verified. The cards aren't rigged — and we can prove it.
Endgame go-out calculations, offensive and defensive modes based on board position. Adapts strategy to the score, not just the cards.
Every discard and pegging decision analysed. Named mistake categories, EV explanations, and practical guidance. Learn from every hand you play.
Engine and trained weights published. Benchmark methodology documented. Build on it, challenge it, improve it. Think your engine is better? Bring it on.
Select 6 cards. Muggins evaluates all 15 possible keeps and shows you the optimal discard with full EV breakdown.
EV calculator, neural pegging model, position-aware discards, Moulton benchmark.
Full-featured discard analysis tool. Use it during your real-world games.
A web opponent at play.muggins.app. Test your skills against the engine.
On-device AI. Premium, one-time purchase. No ads, no subscription.
Python engine, trained weights, benchmark suite. Challenge accepted.
No spam. One email when the app ships and one when the web opponent goes live.