InnProgress / blackjack-vue

Blackjack vue.js game with vuex

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

blackjack

Description

Simplified version of blackjack with vuex store and nice alerts package

Game rules:

  • If your cards values sum is 21 you win
  • If NPC cards values sum is 21 and your is not, then you lose
  • If your cards values sum is bigger than NPC, but your sum is less than 21, you win
  • If your cards values sum is less than 21 and NPC sum is more than 21, you win

Project creation

  • vuex store
  • vue-sweetalert2 package
  • 2 components for actions and stats

Screenshots

gameplay gameplay

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your tests

npm run test

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

About

Blackjack vue.js game with vuex


Languages

Language:JavaScript 53.4%Language:Vue 36.5%Language:HTML 10.1%