rltk
pub fn main_loop<GS>( bterm: BTerm, gamestate: GS) -> Result<(), Box<dyn Error + 'static + Send + Sync>> where GS: GameState,
Runs the BTerm application, calling into the provided gamestate handler every tick.