Skip to main content

run_tui

Function run_tui 

Source
pub fn run_tui<G>(game: G) -> ExitCode
where G: PrintableGame + Clone + Serialize + DeserializeOwned, G::State: Clone + Serialize + DeserializeOwned, G::Action: Clone + DeserializeOwned + Debug, G::View: Serialize,
Expand description

Like run, but play opens the retroglyph dashboard instead of the text stepper. Requires the game to implement [PrintableGame].