From: Stephen Seo Date: Mon, 7 Mar 2022 08:06:45 +0000 (+0900) Subject: Minor fix to Utility AI code X-Git-Tag: sprint_02_day_1~1 X-Git-Url: https://git.seodisparate.com/stephenseo/LD52?a=commitdiff_plain;h=14d224734f92854141fb624106eadfcad0935254;p=EN605.607.81.SP22_ASDM_Project Minor fix to Utility AI code --- diff --git a/front_end/src/ai.rs b/front_end/src/ai.rs index 967d033..e5b98fa 100644 --- a/front_end/src/ai.rs +++ b/front_end/src/ai.rs @@ -34,7 +34,7 @@ impl From for usize { SlotChoice::Slot4 => 4, SlotChoice::Slot5 => 5, SlotChoice::Slot6 => 6, - SlotChoice::Invalid => 10, + SlotChoice::Invalid => (ROWS * COLS) as usize, } } }