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! ๐ŸŽฐ

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
21/mo ยท 4/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