0.0.5 • Published 2 years ago

@mudont/indian-rummy v0.0.5

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

indian-rummy

:construction:

A very early stage library to model the card game of Indian Rummy.

One function that appears to work is solveHand(). Given a hand of 13 cards and a wildcard joker, it returns all possible melds sorted in order of least points first. See bin/test-solve.ts for how to call it.

Functional style

In the process of switching to functional programming style enabled by fp-ts and ramda, enforced by eslint-plugin-functional