diff --git a/84_Super_Star_Trek/rust/src/view.rs b/84_Super_Star_Trek/rust/src/view.rs index f7bac4db..a838922b 100644 --- a/84_Super_Star_Trek/rust/src/view.rs +++ b/84_Super_Star_Trek/rust/src/view.rs @@ -1,6 +1,7 @@ use crate::model::{Galaxy, Pos, SectorStatus, Enterprise, systems}; pub mod prompts { + pub const INSTRUCTIONS: &str = "Do you need instructions"; pub const COURSE: &str = "Course (1-9)?"; pub const TORPEDO_COURSE: &str = "Photon torpedo course (1-9)?"; pub const SHIELDS: &str = "Number of units to shields"; @@ -15,6 +16,38 @@ pub mod prompts { } } +pub fn title() { + println!(" + + + + + + + + + + + + ************************************* + * * + * * + * * * SUPER STAR TREK * * * + * * + * * + ************************************* + + + + + + + + + + "); +} + pub fn full_instructions() { println!( " INSTRUCTIONS FOR 'SUPER STAR TREK'