Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ratracegrad/blackjack
Demonstration of usage of CoffeeScript and Backbone.JS to implement a Blackjack game.
https://github.com/ratracegrad/blackjack
Last synced: about 2 months ago
JSON representation
Demonstration of usage of CoffeeScript and Backbone.JS to implement a Blackjack game.
- Host: GitHub
- URL: https://github.com/ratracegrad/blackjack
- Owner: ratracegrad
- Created: 2015-04-27T03:56:24.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-05-31T15:34:53.000Z (over 9 years ago)
- Last Synced: 2023-02-27T12:06:26.182Z (almost 2 years ago)
- Language: JavaScript
- Homepage: http://jb-blackjack.herokuapp.com/
- Size: 2.34 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Blackjack
> Classic Blackjack game implemented using Backbone.JS, NodeJS, Express, CoffeScript and Twitter
Bootstrap. The entire game was written in CoffeeScript.**Table of Contents**
- [Blackjack](#blackjack)
- [Technology Stack](#technology-stack)
- [Requirements](#requirements)
- [Installation](#installation)
- [Operation](#operation)
- [Live Preview](#live-preview)
- [Screenshot](#screenshot)## Technology Stack
1. Backbone.js
2. CoffeeScript
3. Node.js
4. Express
5. Twitter Bootstrap## Requirements
- Backbone.js
- Express
- CoffeeScript
- Node.js
- Bootstrap## Installation
1. Download the repository
2. If you don't have CoffeeScript already installed, you'll need to do that, here's how:
`npm install -g coffee-script`
3. Install client dependencies with `npm install`
4. Launch Express server with `node server.js`
5. Enjoy the game!## Operation
Open the game in your browser. Decide whether you want to hit or stand based on the cards you have
been dealt. Once the player stands, the dealer plays. The winner is the player closest to 21 without
going over.If you want to stand, just click the `stand` button.
To be dealt a new card, click the `hit` button.
After playing a hand, you can click the `New Game` button to try your luck again.
## Live Preview
[You can see this repo live here](http://jb-blackjack.herokuapp.com/). The demo is hosted on Heroku.## Screenshot
![alt tag](http://jenniferbland.com/blackjack/screenshot.png)