#![feature(isqrt)] pub mod algos; pub mod pathfinding; use hurrycurry_client_lib::Game; use hurrycurry_protocol::{ glam::{IVec2, Vec2}, PlayerID, }; #[derive(Default, Clone, Copy)] pub struct BotInput { pub direction: Vec2, pub boost: bool, pub interact: Option, } pub trait BotAlgo { fn tick(&mut self, me: PlayerID, game: &Game, dt: f32) -> BotInput; }