Expand description

Describes the state that the game is in. /ゲームの状態を表現する型。状態遷移図は複雑なので、詳しくはプレゼン https://docs.google.com/presentation/d/1IL8lelkw3oZif3QUQaKzGCPCLiBguM2kXjgOx9Cgetw/edit#slide=id.g788f78d7d6_0_0 を参照すること。

Structs

Same as ExcitedState, except that the ciurl is not mentioned. /ExcitedState から投げ棒の値を除いたやつ。
This is the state after the user has stepped over a piece and has cast the sticks so that the user can play to make an infinite movement from there. Seeing the sticks, the user is supposed to decide the final location and send it (AfterHalfAcceptance) to the server. /踏越え後の無限移動をユーザーが行い、それに対して投げ棒で判定した後の状態。投げ棒を見て、ユーザーは最終的な移動場所を ExcitedState に対しこれから送りつける。
Normal state. /一番普通の状態。
The water entry cast (if any) is now over, and thus the piece movement is now fully completed. However, I still haven’t resolved whether a hand exists. If so, I must ask the user to choose whether to end the season or not. /入水判定も終わり、駒を完全に動かし終わった。しかしながら、「役が存在していて再行・終季をユーザーに訊く」を発生させるか否かをまだ解決していない。そんな状態。

Enums

Converting HandNotResolved into HandResolved with resolve tells you whether a new hand was created. If so, the HandExists variant is taken; if not, the NeitherTymokNorTaxot is taken. /HandNotResolvedresolve でこの型に変換することによって、『役は発生しなかったぞ』であるのか、それとも『役は発生しており、したがって【再行ならこの GroundState に至る】【終季ならこの Probabilistic<state::GroundState> に至る(どちらが先手になるかは鯖のみぞ知るので Probabilistic)】』のどちらであるかを知ることができる。撃皇が役を構成するかどうかによってここの処理は変わってくるので、 resolveConfig を要求する。