This commit is contained in:
Simon Gardling 2025-01-28 15:05:47 -05:00
parent 9f6be9b669
commit f18fedd5cc
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D
3 changed files with 2 additions and 5 deletions

View File

@ -1,10 +1,10 @@
use crate::{
agent::Agent,
board::{Board, BOARD_SIZE},
misc::{offsets, split_from},
misc::offsets,
piece::Piece,
};
use rand::{seq::IteratorRandom, Rng};
use rand::seq::IteratorRandom;
pub struct ComplexAgent {
color: Piece,

View File

@ -1,4 +1,3 @@
use agent::QueueAgent;
use complexagent::ComplexAgent;
use game::Game;
use piece::Piece;

View File

@ -1,7 +1,5 @@
use std::{iter::Rev, ops::RangeInclusive};
use num::CheckedSub;
pub fn split_from<T>(min: T, max: T, x: T) -> Vec<Vec<T>>
where
T: num::Integer + Copy,