mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-28 05:33:48 -08:00
can now resign
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
@@ -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'")
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user