{"slug": "show-hn-slopslot-a-slot-machine-inside-claude-code", "title": "Show HN: SlopSlot – a slot machine inside Claude Code", "summary": "Developer Gajus Kuizinas released SlopSlot, a Claude Code plugin that spins a three-reel slot machine each time a prompt is sent, requiring Claude Code 2.1.319 or later and installable via `claude plugin install slopslot --marketplace gajus/slopslot`. The plugin awards 10 points for a pair, 50 for three matching symbols and 100 for three sevens, with consecutive matches multiplying base payouts ×1 → ×2 → ×3, and it runs locally with no network requests, model calls or file writes. SlopSlot is distributed through the `gajus/slopslot` marketplace without npm, and its terminal renderer was checked in a live Claude Code session while the Claude Desktop renderer was validated only through rendering tests and standalone previews.", "body_md": "**A slot machine inside Claude Code.**\n\nEvery prompt pulls the lever: three reels spin while Claude works, then stop one at a time. Collect points, climb the ranks, unlock badges, and occasionally get paid for absolutely no skill.\n\nYou need **Claude Code 2.1.319 or later**. No dependencies, API keys, or build\nstep are required.\n\nInstall from your terminal:\n\n```\nclaude plugin install slopslot --marketplace gajus/slopslot\n```\n\nOr run this inside Claude Code:\n\n```\n/plugin install slopslot --marketplace gajus/slopslot\n```\n\nStart a new Claude Code session after installation. Accept any workspace or plugin trust prompts Claude Code shows. Send a normal prompt and the reels will spin automatically. For a spin without asking Claude to do anything, run:\n\n```\n/slopslot\n```\n\nWant the full machine?\n\n```\n/slopslot cabinet\n```\n\nThe cabinet opens in a pane, with a Spin button on wider displays. Close it\nwith Escape or its Close control to return to the display above your prompt.\nCheck `/plugin` → Installed if SlopSlot does not appear.\n\nTo update to a new release:\n\n```\nclaude plugin update slopslot@gajus-slopslot\n```\n\nSlopSlot is distributed through the marketplace in\n[`gajus/slopslot`](https://github.com/gajus/slopslot). It does not require npm.\n\n- **Terminal:** original pixel sprites, scrolling reels, chasing lights, a\nmoving lever, and reward sparkles.\n- **Claude Desktop renderer:** a shaded SVG cabinet, illustrated symbols,\nand bouncing gold coins. Jackpots get a bigger celebration.\n- **Progress:** an XP bar, rank titles, win streaks, a gift countdown, and six\ncollectible badges.\n- **Small screens:** a compact text display when there is not enough room for\nthe artwork.`/slopslot cabinet` opens a separate view.\n\nThese images are artwork previews with example symbols and scores. The terminal\nhas been checked in a live Claude Code session. The Desktop renderer has been\nchecked through rendering tests and standalone previews, rather than a live\nDesktop session. Both were developed against Claude Code **2.1.319**.\n\n| Command | What it does | \n|---|---|\n| `/slopslot` or`/slopslot spin` | Spin without a model request; also enables the machine. | \n| `/slopslot cabinet` | Open the larger interactive cabinet. | \n| `/slopslot rewards` | Show payout rules, badges, and unlock conditions. | \n| `/slopslot status` | Show points, level, XP, badge count, and best spin. | \n| `/slopslot off` | Hide the machine, close the cabinet, and stop automatic spins. | \n| `/slopslot on` | Show the machine and resume automatic spins. | \n| `/slopslot reset` | Clear session progress and cancel an unfinished spin. | \n\nEach reel independently picks one of six equally likely symbols: cherries, lemon, grapes, bell, star, or seven.\n\n| Result | Base points | \n|---|---|\n| A pair | 10 | \n| Three matching symbols | 50 | \n| Three sevens | 100 | \n\nConsecutive matching spins multiply the base payout: **×1 → ×2 → ×3**. The\nmultiplier stays at ×3 until a miss resets the streak. It applies to base\npoints only; bonuses are added afterward.\n\nEvery completed spin earns **20 XP**, plus **10 extra XP** for matching reels.\nEvery 100 XP earns a new level and **25 bonus points**. Every fifth completed\nspin adds a **25-point gift**. Even a miss moves you forward.\n\nRank titles advance every two levels:\n**Rookie → Regular → High roller → VIP → Legend**.\n\nEach badge pays once per session. One spin can unlock multiple badges.\n\n| Badge | Unlock | Bonus points | \n|---|---|---|\n| First pull | Finish a spin | 5 | \n| Double trouble | Match two reels | 15 | \n| Triple threat | Match all three reels | 50 | \n| Lucky sevens | Land three sevens | 100 | \n| On fire | Win three spins in a row | 30 | \n| Rising star | Reach level 3 | 50 | \n\nSpins are free. Points have no monetary value. Your only real prize is having installed a slot machine in your coding assistant.\n\nSlopSlot runs locally. It makes no network requests, model calls, or file writes, and adds no text to your prompts or conversation. A spin starts immediately without waiting for the reels to finish before letting your prompt continue.\n\nProgress lives in memory and resets when the plugin reloads or the session restarts. Sending another prompt during a spin settles that result before starting the next one. Reset cancels an unfinished spin without awarding it.\n\nReels stop after two seconds. Reward animations last another 1.2 seconds, then stop repainting. Turning SlopSlot off cancels its timers and leaves other mods' prompt content visible.\n\nClone the repository and load your working copy for one session:\n\n```\ngit clone https://github.com/gajus/slopslot.git\ncd slopslot\nclaude --plugin-dir .\n```\n\nValidate the plugin and run its tests:\n\n```\nclaude plugin validate .\nclaude plugin test\n```\n\nThe test suite covers scoring, streaks, bonuses, badge unlocks, prompt passthrough, timer cleanup, controls, and both graphical renderers.\n\nClaude Code watches a folder loaded with `--plugin-dir` and reloads changes.\nReloading also resets SlopSlot's session progress.\n\n| File | Purpose | \n|---|---|\n| `.claude-plugin/plugin.json` | Plugin name and version | \n| `.claude-plugin/marketplace.json` | Marketplace catalog for installation from GitHub | \n| `hooks/hooks.json` | Hooks module entry point | \n| `hooks/register.js` | Prompt hooks, animation timers, commands, and UI | \n| `hooks/art.js` | Terminal pixel art and Desktop SVG artwork | \n| `hooks/rewards.js` | Scoring and progression | \n| `tests/` | Rendering, integration, and reward tests | \n| `previews/` | Example cabinet artwork |", "url": "https://wpnews.pro/news/show-hn-slopslot-a-slot-machine-inside-claude-code", "canonical_source": "https://github.com/gajus/slopslot", "published_at": "2026-11-07 00:48:29+00:00", "updated_at": "2026-11-07 01:20:10.336420+00:00", "lang": "en", "topics": ["ai-tools", "developer-tools", "ai-products"], "entities": ["Claude Code", "SlopSlot", "Gajus Kuizinas", "Anthropic", "Claude Desktop", "gajus/slopslot"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/show-hn-slopslot-a-slot-machine-inside-claude-code", "markdown": "https://wpnews.pro/news/show-hn-slopslot-a-slot-machine-inside-claude-code.md", "text": "https://wpnews.pro/news/show-hn-slopslot-a-slot-machine-inside-claude-code.txt", "jsonld": "https://wpnews.pro/news/show-hn-slopslot-a-slot-machine-inside-claude-code.jsonld"}}