Skip to content

raymoo/applepai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

======== applepai

To my horror, there were no complete Mahjong libraries for Haskell. This library is an attempt to correct this.

Mahjong.Tile provides types and functions related to mahjong tiles.

Mahjong.Group provides types and functions relatedto mahjong tiles.

Parse.MultiSet is a utility module I made for parsing mahjong hands. It is probably inefficient, I wouldn't recommend using it outside of this. Please let me know if there is already a decent similar library that I can use instead. I'm pretty sure there is a problem with the Applicative instance too, since trying to use ''many'' (or ''some'') results in bottom.

In the future I hope to have modules providing modelling of table state, player moves, and scoring (not necessarily in that order), with flexible rules of play.

About

Mahjong library for Haskell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published