Files
broodwarBot/protossbot/src/main.rs
2026-01-21 22:13:49 -07:00

17 lines
299 B
Rust

mod bot;
mod state;
mod utils;
use bot::ProtosBot;
use std::sync::{Arc, Mutex};
use state::game_state::GameState;
fn main() {
println!("Starting RustBot...");
let game_state = Arc::new(Mutex::new(GameState::default()));
rsbwapi::start(move |_game| ProtosBot::new(game_state.clone() ));
}