diff --git a/src/azul.rs b/src/azul.rs index c89a527..cce6568 100644 --- a/src/azul.rs +++ b/src/azul.rs @@ -708,6 +708,13 @@ pub fn some_game() -> Result { factories[4].push(Tile::Black); factories[4].push(Tile::Teal); + let bag = &mut game.bag; + bag.blue -= 5; + bag.yellow -= 3; + bag.black -= 4; + bag.red -= 5; + bag.teal -= 3; + Ok(game) } diff --git a/src/main.rs b/src/main.rs index f03c420..025f162 100644 --- a/src/main.rs +++ b/src/main.rs @@ -91,7 +91,7 @@ fn calculate_options() -> Result<(), &'static str> { Ok(()) } -#[cached(size=45_000_000, key = "Game", convert = r#"{ _game }"#)] +#[cached(size=10_000_000, key = "Game", convert = r#"{ _game }"#)] fn count_options(_game: Game, depth: u8, treshold: u8) -> u128 { let before = std::time::Instant::now();