pi-slot-machine

A pi extension that spins a slot machine overlay every time you send a prompt. Hit the jackpot for a fireworks explosion! 🎰

Packages

Package details

extension

Install pi-slot-machine from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-slot-machine
Package
pi-slot-machine
Version
1.0.1
Published
Feb 23, 2026
Downloads
23/mo · 6/wk
Author
philipp-spiess
License
MIT
Types
extension
Size
1 MB
Dependencies
2 dependencies · 0 peers
Pi manifest JSON
{
  "extensions": [
    "./index.ts"
  ],
  "video": "https://cdn.jsdelivr.net/npm/pi-slot-machine@latest/demo.mp4"
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pi-slot-machine 🎰

A pi extension that spins a slot machine overlay every time you send a prompt. If all 3 reels match, you hit the JACKPOT with a flashy explosion! 💥

Slot machine jackpot screenshot

Install

pi install npm:pi-slot-machine

Reload pi with /reload or restart it. That's it — every prompt now comes with a spin!

What it does

  • 3 spinning reels with emoji symbols (🍒🍋🔥⭐💎🎲🍀💰) that slow down and stop one by one
  • ~18% chance of JACKPOT — all 3 reels match
  • On win: Flashing borders, sparkle explosions, and a big "YOU HIT THE JACKPOT!" banner
  • On loss: "Better luck next time!" (or "So close!" when 2 match)
  • Press Enter, Esc, or Space to skip the animation at any time
  • Renders as a centered overlay on top of your conversation

Commands

Command Description
/rigged Toggle always-win mode 💰

Flags

Flag Description
--rigged Start pi with always-win mode enabled
# Always win
pi --rigged

License

MIT