Clover and Gold | HTML5 Game
A fully animated St. Patrick’s Day video slot built with plain HTML5, CSS and JavaScript. 5 reels, 3 rows and 20 paylines, a leprechaun-hat WILD, a money-bag BONUS scatter and free spins where every win pays ×3 and every hat sticks and fills its reel — the screen can fill with wilds.
Ready to upload as a demo, to embed in your website or app with an iframe, or to connect to your own backend through the included server API and Node.js example.
Features
- 10 original vector symbols, each with its own win animation
- WILD hat, money-bag scatter that pays anywhere, 8 / 10 / 12 bonus spins with ×3 multiplier
- Sticky expanding wild reels during the bonus round, retrigger +3
- Reel physics with motion blur and bounce, quick stop, anticipation effect
- Animated paylines, Big / Mega / Epic win celebrations, particles
- Autoplay with stop conditions, turbo mode, space-bar control
- Paytable with real amounts for the current bet, settings menu, rules and paylines
- English and Spanish included, easy to add more languages
- Responsive: phones (portrait and landscape), tablets and desktop
- Battery friendly: no animations while idle; respects “reduce motion”
- Synthesized sound effects (no audio files)
- Cryptographically secure, unbiased RNG
- Configurable bets, currency, language, demo balance and win thresholds in one file
- Server API (JSON) for authoritative results + dependency-free Node.js server example
- RTP simulator that runs the same engine as the game
- Event hooks and postMessage events for integration
- Detailed documentation with screenshots and troubleshooting
Game math
- RTP: ~96.5% (simulated) · Hit frequency: ~41%
- Bonus frequency: 1 in ~112 spins · Max win: 5,000 × bet
- Volatility: medium-high
Technical Requirements
- Browsers: Chrome / Edge 90+, Firefox 98+, Safari 15.4+ (macOS and iOS), Samsung Internet 15+, Android WebView 90+
- Dependencies: none — no frameworks, no jQuery, no CDN, no build step. Fonts are bundled (SIL OFL).
- Hosting for the demo: any static web server (Apache, Nginx, IIS, LiteSpeed, shared hosting, Netlify, GitHub Pages, S3). No database and no server-side language required. Also runs from the local disk.
- Server mode (optional): the included server example requires Node.js 16 or newer (no npm packages). PHP is not required; your own backend can use any language that implements the documented JSON API.
- RTP simulator (optional): Node.js 16+
What’s included
game/ — the game (upload this folder) server-example/ — Node.js API + static server tools/ — RTP simulator documentation/ — HTML documentation clover-gold-single-file.html — single-file build for quick previews
Notes
The game uses demo credits by default. Results generated in the browser are for free-play only; for real-money use enable server mode so every result comes from your server. Real-money gaming is regulated — buyers are responsible for licensing and compliance in their jurisdiction.
Credits
All artwork, code and sounds are original. Fonts: Lilita One and Nunito (SIL Open Font License 1.1).
Changelog
v1.0.1 — Title updated, freeSpinsAutoPlay option, free-spins win meter fix, larger layout on big screens, documentation expanded (screenshots, technical requirements, troubleshooting).
v1.0.0 — Initial release.