4.0.0 • Published 2 years ago

yatzy v4.0.0

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

js-standard-style

yatzy

Just for fun an implementation of yatzy that will play the game for you... so you don't have to ;-)

VERY WIP starting with the variation "Forced Yatzy"

Usage npx

Add players separated by space

$ npx yatzy "Ylva Marie" Geir

Usage global install

$ npm i -g yatzy
$ yatzy "Ylva Marie" Geir

Example as module

// game.js
import yatzy from 'yatzy';

const Game = yatzy()
Game.addPlayer('Ylva Marie')
Game.addPlayer('Geir')
Game.randomizePlayersOrder()
Game.play()
Game.printScoreCard()
$ node game.js

Related

yatzy-web this module used in a web version

Licence

MIT

3.0.0

2 years ago

4.0.0

2 years ago

2.1.3

3 years ago

2.1.2

4 years ago

2.1.1

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago