An open API service indexing awesome lists of open source software.

https://github.com/bozzelliandrea/js-blackjack

Javascript blackjack game
https://github.com/bozzelliandrea/js-blackjack

Last synced: 8 months ago
JSON representation

Javascript blackjack game

Awesome Lists containing this project

README

          

# :diamonds: :spades: BlackJack :clubs: :heart:
A simple blackjack game written in javascript

## Installation

*before run the game, it requires nodejs installed on your machine*

use the following [guide](https://github.com/nodesource/distributions/blob/master/README.md) to set up your local environment
## Run Locally

Clone the project

```bash
git clone https://github.com/bozzelliandrea/js-blackjack.git
```

Go to the project directory

```bash
cd js-blackjack
```

Install dependencies

```bash
npm install
```

Start the script

```bash
npm start
```

## Running Tests

There are some tests made with jest, to run the test suite locally execute the command

```bash
npm test
```