From 7eab0722cf8396b4d59fb491ffd0785ed821c8e1 Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Wed, 6 Jan 2021 08:02:00 +0100 Subject: [PATCH] added note --- src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 3d83cd9..a816ee5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -62,10 +62,11 @@ fn calculate_options() -> Result<(), &'static str> { // We know how many possibilities there are the first round... game.do_move(GameMove(1, Tile::Blue, 0))?; // 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))?; let options = count_options(game, 0, 4); - println!("{}", options * (20 * 6)*(19*6)); + println!("{}", options * (20 * 6)*(19 * 6)); Ok(()) }