basic bot

This commit is contained in:
2026-01-21 20:37:17 -07:00
commit ae7f57d3df
21 changed files with 1354 additions and 0 deletions

15
protossbot/src/main.rs Normal file
View File

@@ -0,0 +1,15 @@
mod bot;
pub mod game_state;
use bot::RustBot;
use std::sync::{Arc, Mutex};
use game_state::GameState;
fn main() {
println!("Starting RustBot...");
let game_state = Arc::new(Mutex::new(GameState::default()));
rsbwapi::start(move |_game| RustBot::new(game_state.clone() ));
}