riichi-tools-cli

Crates.ioriichi-tools-cli
lib.rsriichi-tools-cli
version0.1.2
sourcesrc
created_at2021-03-24 08:03:28.93933
updated_at2021-04-26 20:32:03.646348
descriptionRiichi Mahjong tools for the terminal
homepagehttps://riichi.harphield.com/tools/
repositoryhttps://github.com/harphield/riichi-tools-cli
max_upload_size
id372859
size32,905
(harphield)

documentation

README

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]

Commit count: 20

cargo fmt