Slot Machine

Free, mobile-friendly slot machine widget. Pick a theme or customize the symbols. Embed anywhere or play it right here.

CUSTOMIZE

Pick a theme or swap individual symbols. Saved in the embed URL, no accounts.

THEME
SYMBOLS (CLICK TO SWAP)

EMBED ON YOUR SITE

Customize above, then copy this iframe or download the standalone file. Both bake in your current symbols.

Single file, plays offline.

ABOUT THIS WIDGET

The Astryke Slot Machine is a free embeddable slot machine widget. Three reels, five paylines, ten symbols, five preset themes, sixty-five emoji to customize with. Plays on phone and desktop. Drop into any blog post, wiki page, course, or HTML file. Or download it as a single 19 KB file that plays offline forever.

Why use this widget instead of the alternatives

  • Free. Always. No paywalls, no upgrade nags, no time-limited trials.
  • No ads on the widget. Astryke runs analytics on its own site, but the iframe-embedded version loads nothing extra and shows nothing extra.
  • No tracking on the embedded version. The widget loads no Google Analytics, no Cloudflare Web Analytics, no third-party scripts inside the iframe.
  • Mobile-friendly. The 800 by 600 canvas scales responsively, taps work without delay, and the controls stay reachable on phone screens.
  • Offline-capable. Download a single 19 KB HTML file that plays without an internet connection. Pack it inside your own web app, share it as a file, host it yourself.
  • Modern look. Warm Parchment palette, Cinzel display type, native emoji symbols, soft shadows. Sits cleanly inside any normal blog theme.
  • No accounts, no signup, no login. Anywhere. Ever.

What makes it great

  • Three reels and five paylines (middle, top, bottom, two diagonals). Real slot machine math, not a fake animation.
  • Five preset themes: Cosmic, Classic, Fantasy, Food, Animals. One click swaps all ten symbols at once.
  • Sixty-five curated emoji in the per-slot picker. Hand-selected for canvas legibility. Click any reel position to open the picker and swap.
  • Positional multipliers (slot 0 always pays 5x, slot 6 always pays 30x, slot 9 always pays 50x). Themes change the art, not the economy.
  • Four Web Audio synthesized sounds: spin sweep, reel-stop click, win arpeggio, jackpot fanfare. Zero audio file downloads.
  • URL-param customization. Embed `?theme=fantasy&sym0=star&sym1=gem` and every visitor sees your custom slot. Sticky across refreshes without cookies or localStorage.
  • Bake-on-download. Customize on astryke.com, click Download as HTML, get a file with your symbols baked in.
  • One thousand starting credits, reset any time with the small Reset button at the top right.
  • Custom right-click menu instead of the browser default, branded with a link back to Astryke.
  • Hi-DPI canvas rendering for sharp visuals on Retina and 4K displays.

Where this works well

Game dev blogs and tutorials. Embed alongside a write-up on slot machine math, payout tables, RNG, expected value, or animation physics. Readers see the concept working live.

Tabletop RPG and worldbuilding sites. Custom-themed slot reels for in-character casino scenes. Use Fantasy theme for D&D nights, customize per faction or setting.

Contests, giveaways, and gamification. Branded slot reels with your contest's emoji. Spin determines the prize, theme stays on-brand.

Classroom probability lessons. Working demo of expected value, payline odds, and the gambler's fallacy. Free to embed in any course platform.

Streamer panels and overlays. Embed as a Twitch panel for chat-driven novelty. Customize symbols to match your channel branding.

Marketing landing pages. A loot-box-style animation without a tracking pixel. Demo a randomized reveal in-page without sending data anywhere.

Game jams and prototypes. Drop a slot mechanic into a one-HTML jam game. Standalone download gives you a working slot machine you can paste into your build.

Customization in detail

Theme presets. Five themes: Cosmic (space + retro slot), Classic (cherries, lemons, sevens, money bag), Fantasy (sword, crown, dragon, crystal ball), Food (pizza, cake, donut, strawberry), Animals (wolf, fox, lion, unicorn, dragon). Each is a ten-emoji ordering paired with the existing multiplier table. The expensive positions (5, 30, 50) get the visually rare or rewarding emoji per theme.

Per-slot emoji picker. Click any of the ten reel positions in the SYMBOLS row to open the picker. Sixty-five curated emoji organized by category: space and sky, gems and wealth, classic slot, fantasy, animals, food, abstract symbols. Hand-picked so every option renders legibly on a slot reel at canvas scale.

URL params. Customization persists via URL query parameters in the embed iframe src. Examples: ?theme=fantasy switches to the Fantasy preset; ?sym0=⭐&sym1=💎 overrides specific slots; both combine. The Copy Embed Code button generates the right URL automatically. URL params survive page refresh, work in iframes, and require no cookies or localStorage.

Multiplier table stays fixed. Slot positions 0 through 9 always have multipliers 5, 20, 5, 5, 5, 5, 30, 5, 5, 50. Three-of-a-kind on a payline pays that multiplier; two-of-a-kind pays 2x. This keeps the game economy consistent across themes so players who see multiple Astryke slot embeds on different sites learn the pay structure once.

Frequently asked questions

Is the slot machine widget free to use commercially?

Yes. Use it in client work, in a paid game, in monetized blog posts, in a product demo. No attribution required. The watermark at the bottom right links back to Astryke regardless, which is how the project funds future widgets.

Will visitors to my embedded widget be tracked by Astryke?

No. The iframe-embedded version does not load Google Analytics, Cloudflare Web Analytics, or any third-party tracking. Visitors to astryke.com itself are measured, but visitors who only interact with embedded widgets on your site are not.

Does this work on phones and tablets?

Yes. The canvas scales responsively, touch is supported without delay, and the controls are tappable on phone screens.

Will my customization persist if visitors refresh the page?

Yes, because customization lives in the iframe URL. Every refresh sees the same symbols and theme. No cookies, no localStorage.

Can I edit the source code of the downloaded HTML file?

Yes. The standalone HTML is plain readable JavaScript. Open it in a text editor, change colors, adjust the payout table, swap fonts, do whatever you want. No build step required.

Will this slow down my page?

No noticeable impact. The iframe lazy-loads (loading=lazy), the standalone is 19 KB, and there are no third-party scripts. Lighthouse scores stay clean.

Can I run multiple slot machines on the same page?

Yes. Each iframe is independent. Customize each one differently via the URL params if you want.

Does the slot machine require a backend or server?

No. Everything runs client-side. The astryke.com hosted version is a static export. The downloaded standalone HTML works on any web server, on file:// directly from your desktop, or inside an Electron/Tauri shell.

What browsers are supported?

All modern browsers: Chrome, Edge, Firefox, Safari, Opera, on Windows, macOS, Linux, iOS, Android. The widget uses Canvas 2D, Web Audio, and standard ES2018 JavaScript.

Why slot machine and not other widgets?

Slot Machine is the first Spark in a series. Wheel of Names, Dice Roller, Plinko Board, and Sound Board are planned. Same free, embeddable, mobile-friendly, no-ads pattern.

Back to all Sparks · Back to Astryke