Skip to content

Commit

Permalink
Rename to blackjack-simulator
Browse files Browse the repository at this point in the history
  • Loading branch information
mhluska committed Jun 29, 2021
1 parent 4ccb1b5 commit 0a8c22a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<p align="center">
<a href="https://blackjacktrainer.app/" target="_blank">
<img width="450" src="https://github.com/mhluska/blackjack-engine/raw/master/preview.gif" alt="Preview" />
<img width="450" src="https://github.com/mhluska/blackjack-simulator/raw/master/preview.gif" alt="Preview" />
</a>
</p>

<p align="center">
<a href="https://github.com/mhluska/blackjack-engine/actions"><img src="https://github.com/mhluska/blackjack-engine/workflows/tests/badge.svg?branch=master" alt="Build Status" /></a>
<a href="https://www.npmjs.com/package/@blackjacktrainer/blackjack-engine"><img src="https://img.shields.io/npm/v/@blackjacktrainer/blackjack-engine.svg" alt="Version"></a>
<a href="https://github.com/mhluska/blackjack-engine/blob/master/LICENSE"><img src="https://img.shields.io/github/license/mhluska/blackjack-engine" alt="License"></a>
<a href="https://github.com/mhluska/blackjack-simulator/actions"><img src="https://github.com/mhluska/blackjack-simulator/workflows/tests/badge.svg?branch=master" alt="Build Status" /></a>
<a href="https://www.npmjs.com/package/@blackjacktrainer/blackjack-simulator"><img src="https://img.shields.io/npm/v/@blackjacktrainer/blackjack-simulator.svg" alt="Version"></a>
<a href="https://github.com/mhluska/blackjack-simulator/blob/master/LICENSE"><img src="https://img.shields.io/github/license/mhluska/blackjack-simulator" alt="License"></a>
</p>

<p align="center">
Expand All @@ -24,13 +24,13 @@
## Run interactive mode

```sh
npx @blackjacktrainer/blackjack-engine --interactive
npx @blackjacktrainer/blackjack-simulator --interactive
```

## Run simulator

```sh
npx @blackjacktrainer/blackjack-engine --simulator
npx @blackjacktrainer/blackjack-simulator
```

## Build and run locally
Expand All @@ -46,7 +46,7 @@ npm run simulator
## Use as a library (interactive mode)

```js
import { Game } from '@blackjacktrainer/blackjack-engine';
import { Game } from '@blackjacktrainer/blackjack-simulator';

// The following are default settings:
const settings = {
Expand Down Expand Up @@ -151,7 +151,7 @@ for user interaction:
## Use as a library (simulator mode)

```js
import { Simulator } from '@blackjacktrainer/blackjack-engine';
import { Simulator } from '@blackjacktrainer/blackjack-simulator';

// The following are default settings:
const settings = {
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "@blackjacktrainer/blackjack-engine",
"name": "@blackjacktrainer/blackjack-simulator",
"version": "0.9.1",
"description": "Core game logic for a Blackjack basic strategy and card counting trainer",
"main": "dist/main.js",
"bin": {
"blackjack-engine": "bin/cli.js"
"blackjack-simulator": "bin/cli.js"
},
"scripts": {
"browser": "webpack-dev-server --open",
Expand All @@ -16,7 +16,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/mhluska/blackjack-engine.git"
"url": "git+https://github.com/mhluska/blackjack-simulator.git"
},
"keywords": [
"blackjack",
Expand All @@ -27,7 +27,7 @@
"author": "BlackjackTrainer <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/mhluska/blackjack-engine/issues"
"url": "https://github.com/mhluska/blackjack-simulator/issues"
},
"homepage": "https://blackjacktrainer.app",
"devDependencies": {
Expand Down

0 comments on commit 0a8c22a

Please sign in to comment.