Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Modern casino slot machine game built with vanilla HTML, CSS and JavaScript using the Web Animations API.

Free one-page HTML5 landing template for mobile and web apps with sliding design, animations, and pricing table.

Free responsive education website template built with Bootstrap 4 and HTML5, featuring courses, events, and blog pages.

Grand Mini Theme is decorated with beautiful menu icons. This is one long page layout for all pages based on dark blue background.

Free HTML/CSS landing page templates for startups. New template every week.

Free Bootstrap 4 HTML5 multipage app landing page template with gradient styling, pricing tables, modals, and a PHP/Ajax contact form.
Html5 Slot Machine is a browser-based casino slot machine game built with vanilla HTML, CSS and JavaScript that uses the Web Animations API to spin reels without any frameworks or Flash.
Html5 Slot Machine is a fully client-side slot machine proof of concept created by GitHub user johakr. It takes no server-side input; all game logic and rendering happen in the browser, and it produces animated reel spins with configurable callback events. The project runs on any modern browser and is deployed as a static site on GitHub Pages, with a live demo linked in the repository.
inverted to control reel spin direction and onSpinStart/onSpinEnd callbacks that receive the symbols pattern array.onSpinStart and onSpinEnd callbacks to log or react to every symbol pattern the reels produce.inverted to choose whether reels spin top-to-bottom or bottom-to-top.The repository includes installation and build steps: clone the repository, run npm install, then either npm start for development at http://localhost:8080 or npm run build to generate a production bundle in /dist. Runtime behavior is controlled by a config object in index.js, letting developers tweak spin direction and subscribe to spin start/end events.
No. It is built with only vanilla HTML, CSS and JavaScript, so it runs in any modern browser without plugins.
Yes, the layout is fully responsive and adapts to mobile, web and fullscreen viewing.
Clone the repo, run npm install followed by npm start, then open http://localhost:8080 in your browser. For production, use npm run build and serve the contents of the dist folder.
The Star Wars-themed icons were created by KPD Media and are free for private and commercial use with no attribution required.
Yes, autoplay keeps running even when the game window is in the background.
