0.3.1 • Published 2 years ago

ts-card-games v0.3.1

Weekly downloads
2
License
ISC
Repository
github
Last release
2 years ago

ts-card-games

Hearts, Pinochle and more in typescript

Features

  • Cards
  • Decks
  • Players
  • Games
    • Hearts
    • Pinochle

Examples

const game = new Hearts({name: "Hearts1"});

const p1 = game.addPlayer("joe");
const p2 = game.addPlayer("jim");
const p3 = game.addPlayer({name:"jess"});
const p4 = game.addPlayer("jules");

p1.setReady(true);
p2.setReady(true);
p3.setReady(true);
p4.setReady(true);

Development

Build

npm run build

Test

npm run test

Todo

Finish building out game logic for Hearts and Pinochle

0.3.0

2 years ago

0.3.1

2 years ago

0.1.2

3 years ago

0.2.0

3 years ago

0.1.3

3 years ago

0.1.0

3 years ago

0.1.1

3 years ago

0.0.2

3 years ago

0.0.1

4 years ago