File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11use crate :: Cmd :: { Generate , Score , Shanten , Ukeire } ;
22use riichi_tools_rs:: riichi:: hand:: Hand ;
3+ use riichi_tools_rs:: riichi:: rules:: { GameLength , Rules } ;
34use riichi_tools_rs:: riichi:: table:: Table ;
45use serde_json:: { json, Map } ;
56use structopt:: clap:: AppSettings ;
67use structopt:: StructOpt ;
7- use riichi_tools_rs:: riichi:: rules:: { Rules , GameLength } ;
88
99/// Riichi tools CLI
1010#[ derive( StructOpt , Debug ) ]
@@ -171,7 +171,7 @@ fn main() {
171171 let mut hand = Hand :: random_hand ( Some ( & Rules {
172172 game_length : GameLength :: Tonpuusen ,
173173 aka_ari : true ,
174- kuitan_ari : false
174+ kuitan_ari : false ,
175175 } ) ) ;
176176 println ! (
177177 "{}{}" ,
@@ -191,7 +191,7 @@ fn main() {
191191 let mut hand = Hand :: random_hand ( Some ( & Rules {
192192 game_length : GameLength :: Tonpuusen ,
193193 aka_ari : true ,
194- kuitan_ari : false
194+ kuitan_ari : false ,
195195 } ) ) ;
196196 if shanten {
197197 println ! (
You can’t perform that action at this time.
0 commit comments