Skip to content

harphield/riichi-tools-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

riichi-tools-cli

Build Status GitHub release (latest by date including pre-releases) GitHub code size in bytes License

A command line tool for riichi mahjong shenanigans.

Usage

riichi-tools-cli [FLAGS] [OPTIONS] [SUBCOMMAND]

FLAGS:

-h, --help Prints help information
-j, --json Output in json instead of random text
-V, --version Prints version information
-v, --verbose Verbosity level - changes how much stuff is written out

SUBCOMMANDS:

generate

riichi-tools-cli generate [FLAGS] [number] Generate a random starting hand.

FLAGS:
-c, --complete Generate complete hands
-s, --shanten Also include shanten

shanten

riichi-tools-cli shanten <hand> Find shanten of a hand

ukeire

riichi-tools-cli ukeire <hand> Find ukeire of a hand

score

riichi-tools-cli score [FLAGS] [OPTIONS] <hand> Score information for a hand

FLAGS:
-h, --han-fu Show han and fu
-p, --points Show hand points
-r, --riichi Is the hand in riichi?
-t, --tsumo Did I selfdraw the hand?
-y, --yaku Show yaku names

OPTIONS:
-m, --my-wind <my-wind> My wind. e = east s = south w = west n = north [default: e]
-w, --wind <wind> Prevalent wind. e = east s = south w = west n = north [default: e]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages