pub fn main_loop<GS: GameState>(bterm: BTerm, gamestate: GS) -> BResult<()>
Expand description

Runs the BTerm application, calling into the provided gamestate handler every tick.