bitchwhocodes / html5-slot-machine

Modern casino slot machine game using only plain JavaScript (Web Animations API)

Home Page:https://johakr.github.io/html5-slot-machine/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HTML5 Slot Machine

Build Status Greenkeeper badge code style: prettier

This is a modern proof of concept casino slot machine game, built using only vanilla HTML, CSS and JavaScript. No Flash or Frameworks required. Allowing for an amazing low bundle size and blazing fast performance.

Built using the Web Animations API.

Live Demo

Run on Ainize

Features

  • Fully responsive for great UX on mobile, web & fullscreen mode.
  • Autoplay functionality, which keeps running even if the game window is in background.

Installation, Build & Deployment

  1. Clone repository
  2. Run npm install
    • Development: run npm start and go to http://localhost:8080
    • Production: run npm run build and serve from /dist

Configuration

For configuration options see config object in index.js

Property Description Default
inverted Controls visual spinning direction of reels. If false, reels will spin from bottom to top. If true, reels will spin from top to bottom false

Credits

Icons are created by KPD Media and can be used for private and commercial purposes with no attribution required (check license here).

About

Modern casino slot machine game using only plain JavaScript (Web Animations API)

https://johakr.github.io/html5-slot-machine/

License:MIT License


Languages

Language:JavaScript 68.3%Language:CSS 15.4%Language:HTML 11.5%Language:Dockerfile 4.7%