2024.02.12 - WORKS

This commit is contained in:
ModulatingForce 2024-02-12 01:25:12 -05:00
commit 2a7b53ddf8
6 changed files with 422 additions and 143 deletions

View file

@ -7,13 +7,16 @@ use std::process::Output;
use crate::core::botinstance::ArcBox;
use crate::core::botinstance::BotInstance;
use tokio::sync::RwLock;
use std::sync::Arc;
pub type BotAR = Arc<RwLock<BotInstance>>;
#[tokio::main]
pub async fn main() {
let bot = BotInstance::init();
bot.clone().runner().await;
bot.runner().await;
println!("ERROR : EXIT Game loop");