pub struct Config {
    pub step_tam_is_a_hand: bool,
    pub tam_itself_is_tam_hue: bool,
    pub moving_tam_immediately_after_tam_has_moved: Consequence,
    pub tam_mun_mok: Consequence,
    pub failure_to_complete_the_move_means_exempt_from_kut2_tam2: bool,
    pub game_can_end_without_tymok_taxot_because_of_negative_hand: bool,
    pub what_to_say_before_casting_sticks: Option<Plan>,
}
Expand description

Describes the minor differences between the numerous rule variants. /細かなルール差を吸収するための型。

Fields§

§step_tam_is_a_hand: bool

Describes whether the Stepping of Tam2 is considered a hand. If false, the Stepping of Tam2 results in the immediate subtraction of 5 points and does not trigger the taxot / tymok unless another hand is simultaneously created. /撃皇が役であるかどうかのフラグ。falseである場合、撃皇は即時5点減点であり、同時に他の役が成立していない限り終季・再行の判定を発生させない。

§tam_itself_is_tam_hue: bool

Described whether the square that Tam2 itself is in is considered as a tam2 hue. This matters only when you are stepping a Tam2. /皇のあるマス自身が皇処になるかどうかのフラグ。撃皇をするときにのみ関係のあるフラグ。

§moving_tam_immediately_after_tam_has_moved: Consequence

hsjoihs 2020/02/18 「@SY 皇をもとの位置に戻す皇再来と、相手が動かした後の皇動かしによる皇再来を言い分けたいときってどうするんだろう(cerke_onlineは後者のみを禁じており、前者に関しては無罰則)」 SY 2020/02/18 - 2020/02/19 「前者は皇無行とかっぽそう。後者が狭義の皇再来なのかもしれん。ただややこしい」

§tam_mun_mok: Consequence

hsjoihs 2020/02/18 「@SY 皇をもとの位置に戻す皇再来と、相手が動かした後の皇動かしによる皇再来を言い分けたいときってどうするんだろう(cerke_onlineは後者のみを禁じており、前者に関しては無罰則)」 SY 2020/02/18 - 2020/02/19 「前者は皇無行とかっぽそう。後者が狭義の皇再来なのかもしれん。ただややこしい」

§failure_to_complete_the_move_means_exempt_from_kut2_tam2: bool

入水判定や踏越え判定に失敗したときに、撃皇が免除されるかどうか

§game_can_end_without_tymok_taxot_because_of_negative_hand: bool

減点行為が役でないルールで、役が成立して終季・再行の選択が発生せずに点が尽きることがありうるかどうか

§what_to_say_before_casting_sticks: Option<Plan>

投げ棒を投げる前になにを表明しなければならないのか。None ならなにも表明しなくてよく、ExactDestination なら目的地を宣言し、Direction なら方向を宣言する

Implementations§

Cerke Online α版での config 設定。

厳密で厳しく解釈した官定での config 設定。

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Feeds this value into the given Hasher. Read more
Feeds a slice of this type into the given Hasher. Read more
This method tests for self and other values to be equal, and is used by ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Checks if this value is equivalent to the given key. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.