can now resign

This commit is contained in:
Christopher
2023-03-04 09:10:43 +13:00
parent 51cfce4fb8
commit 32c1508a51
3 changed files with 6 additions and 6 deletions

View File

@@ -36,6 +36,7 @@ fn main() {
systems::LONG_RANGE_SCAN => commands::perform_long_range_scan(&mut galaxy),
systems::COMPUTER => commands::access_computer(&galaxy, command[1..].into()),
systems::PHASERS => commands::get_power_and_fire_phasers(&mut galaxy, command[1..].into()),
"XXX" => galaxy.enterprise.destroyed = true,
_ => view::print_command_help()
}

View File

@@ -489,7 +489,6 @@ Your efficiency rating is {efficiency}.
pub fn replay() {
println!("
The Federation is in need of a new starship commander
for a similar mission -- if there is a volunteer
let him step forward and enter 'Aye'")

View File

@@ -36,11 +36,11 @@ Started after movement and display of stats was finished (no energy management o
- [ ] 4 - direction/distance calculator (useful for nav actions I guess)
- [x] 5 - galactic name map
- [ ] restarting the game
- after defeat
- and by resigning
- [x] restarting the game
- [x] after defeat
- [x] and by resigning
- [ ] time progression
- check all areas where time should move, and adjust accordingly
- [ ] defeat due to time expired
- [x] defeat due to time expired
- [ ] intro instructions
- [ ] victory
- [x] victory