Skip to content

damianidaniele/blackjack

Repository files navigation

blackjack

This project is generated with yo angular generator version 0.11.1.

Requirements

  • nodeJS >= 0.10.28
  • grunt-cli 0.1.13
  • grunt 0.4.5
  • compass 1.0.3 (Polaris)

Build & development

  • Run npm install
  • Run bower install
  • Run grunt for building and grunt serve for preview.

Testing

Running grunt test will run the unit tests with karma.

Purpose

In frontend and/or backend, using javascript, make a simplified blackjack game (Draw cards and try and get close but not above 21) The rules of the game can be found at: http://en.wikipedia.org/wiki/Blackjack.

ELEMENTS:

- 1 standard card deck
- 1 dealer
- X players

CORE STEPS:

Dealer shuffles deck Dealer deals 2 cards per player Dealer declares win/loss/players out of game One at a time, players in the game can either (repeatable) - keep the cards they have or (stick) - get dealt another card (hit) - dealer declares win/loss/players out of game

NOTES

  • The dealer is also a player, who auto plays (very simple rules that are up to you).
  • Add functionality for Splitting (if you are dealt cards of the same value you can split and play them as two hands simultaneously)

About

A simple Blackjack game made in AngularJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published