• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

johakr/html5-slot-machine: Modern casino slot machine game using only plain Java ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

johakr/html5-slot-machine

开源软件地址:

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

开源编程语言:

JavaScript 69.5%

开源软件介绍:

HTML5 Slot Machine

Build and Deploy Status 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

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
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).




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
hsllany/HtmlNative: Use HTML/CSS to render Android View, Lua to control its logi ...发布时间:2022-06-17
下一篇:
spbooks/htmlcss2发布时间:2022-06-17
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap