Rhai
This commit is contained in:
@@ -8,7 +8,7 @@ use crate::{board::Board, util::Symb};
|
||||
/// - coords are the coordinate of this slot's partial
|
||||
/// - char_idx is the index of this slot in its partial
|
||||
/// - f32 is the influence of this slot
|
||||
pub fn free_slots_by_influence(board: &Board) -> Option<Vec<(usize, f32)>> {
|
||||
fn free_slots_by_influence(board: &Board) -> Option<Vec<(usize, f32)>> {
|
||||
// Fill all empty slots with fives and compute starting value
|
||||
let filled = {
|
||||
// This should always result in an evaluatable expression,
|
||||
|
||||
Reference in New Issue
Block a user