doc
This commit is contained in:
parent
8dbaf597c9
commit
6fe5a268da
5 changed files with 229 additions and 37 deletions
|
|
@ -108,6 +108,12 @@ impl GameState {
|
|||
pos_bits.append(&mut step_bits.into());
|
||||
|
||||
// dice roll -> 4 bits
|
||||
let mut dice_bits = match self.dices {
|
||||
TurnStage::RollDice => [false, false],
|
||||
TurnStage::MarkPoints => [false, true],
|
||||
TurnStage::Move => [true, false],
|
||||
};
|
||||
pos_bits.append(&mut step_bits.into());
|
||||
// points 10bits x2 joueurs = 20bits
|
||||
// * points -> 4bits
|
||||
// * trous -> 4bits
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue