death to indices

This commit is contained in:
LinlyBoi
2023-05-02 21:35:15 +03:00
parent ead76cef1a
commit f41b868752

View File

@@ -1,7 +1,6 @@
mod heuristic; mod heuristic;
mod indices; mod indices;
mod score_checkers; mod score_checkers;
#[cfg(test)] #[cfg(test)]
mod tests; mod tests;
@@ -99,17 +98,6 @@ impl Board {
== 0 == 0
} }
} }
// pub fn get_indices(
// index: &(usize, usize),
// op: fn(&(usize, usize), usize) -> (usize, usize),
// values: Vec<usize>,
// ) -> Vec<(usize, usize)> {
// let mut indices: Vec<(usize, usize)> = Vec::with_capacity(3);
// for num in values {
// indices.push(op(index, num));
// }
// indices
// }
#[derive(Copy, Clone, Debug)] #[derive(Copy, Clone, Debug)]
pub enum Disk { pub enum Disk {