프로젝트
GitHub에서 보기
johakr/html5-slot-machine
소개
순수 JavaScript(Web Animations API)만 사용한 최신 카지노 슬롯머신 게임
게임 및 에뮬레이션What you can do
- Fully responsive for great UX on mobile, web & fullscreen mode.
- Autoplay functionality, which keeps running even if the game window is in background.
측정된 스타 증가
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +2
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalHTML5 Slot Machine
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.
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
- Clone repository
- Run
npm install- Development: run
npm startand go tohttp://localhost:8080 - Production: run
npm run buildand serve from/dist
- Development: run
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 |
onSpinStart |
Callback function invoked when spin starts with symbols pattern array (symbols) => void. |
undefined |
onSpinEnd |
Callback function invoked when spin ends with symbols pattern array (symbols) => void. |
undefined |
Credits
Icons are created by KPD Media and can be used for private and commercial purposes with no attribution required (check license here).
관련 프로젝트 살펴보기
불러오는 중…