From 14d224734f92854141fb624106eadfcad0935254 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Mon, 7 Mar 2022 17:06:45 +0900 Subject: [PATCH] Minor fix to Utility AI code --- front_end/src/ai.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, } } }