added note

This commit is contained in:
Daniel Olsen 2021-01-06 08:02:00 +01:00
parent a123da5448
commit 7eab0722cf
1 changed files with 2 additions and 1 deletions

View File

@ -62,10 +62,11 @@ fn calculate_options() -> Result<(), &'static str> {
// We know how many possibilities there are the first round... // We know how many possibilities there are the first round...
game.do_move(GameMove(1, Tile::Blue, 0))?; game.do_move(GameMove(1, Tile::Blue, 0))?;
// We also know how many possiblities there are the second round. // We also know how many possiblities there are the second round.
// NB: THIS STEP INTRODUCES ERROR, THE REAL NUMBER WILL BE SMALLER THAN THIS
game.do_move(GameMove(0, Tile::Yellow, 0))?; game.do_move(GameMove(0, Tile::Yellow, 0))?;
let options = count_options(game, 0, 4); let options = count_options(game, 0, 4);
println!("{}", options * (20 * 6)*(19*6)); println!("{}", options * (20 * 6)*(19 * 6));
Ok(()) Ok(())
} }