0.0.2 • Published 4 years ago

@ngx-poker/core v0.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

@ngx-poker/core

This is a Typescript Library that makes poker intergrations easier!

Installation

$ npm i --save @ngx-poker/core

Usage

import { Game } from '@ngx-poker/core';

...

/* Initialize Game */
const game = new Game();

/* Add Players */
await game.addPlayer();
await game.addPlayer();
await game.addPlayer();
await game.addPlayer();

/* Deal Cards To Players */
await game.deal();

/* Play Flop */
await game.flop();

/* Play Turn */
await game.turn();

/* Play River */
await game.river();

License

This project is licensed under the MIT License - see the LICENSE file for details

DEONATE

0.0.2

4 years ago

0.0.1

4 years ago