From f2a1b1bdc40e06e1141fe0d1e6e108b0bf9715f8 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 12 Aug 2023 05:56:33 -0400 Subject: [PATCH] Reinstate test of game-win logic. --- test/test08.chk | 740 ++++++++++++++++++++++++++++++++++++++ test/test08.chk-old | 855 -------------------------------------------- test/test08.log | 105 ++++++ test/test08.log-old | 122 ------- 4 files changed, 845 insertions(+), 977 deletions(-) create mode 100644 test/test08.chk delete mode 100644 test/test08.chk-old create mode 100644 test/test08.log delete mode 100644 test/test08.log-old diff --git a/test/test08.chk b/test/test08.chk new file mode 100644 index 0000000..3fa8cd1 --- /dev/null +++ b/test/test08.chk @@ -0,0 +1,740 @@ + + +-SUPER- STAR TREK + + + +It is stardate 4983. The Federation is being attacked by +a deadly Klingon invasion force. As captain of the United +Starship U.S.S. Enterprise, it is your mission to seek out +and destroy this invasion force of 9 battle cruisers. +You have an initial allotment of 14 stardates to complete +your mission. As you proceed you may be given more time. + +You will have 4 supporting starbases. +Starbase locations- 2 - 5 7 - 3 8 - 3 2 - 4 + +The Enterprise is currently in Quadrant 1 - 8 Sector 6 - 4 + +Good Luck! +COMMAND> # SST2K version 2.7 +# Test game-win condition +# recorded by esr@snark.thyrsus.com on Sat Aug 12 05:18:43 2023 +chart + STAR CHART FOR THE KNOWN GALAXY + 1 2 3 4 5 6 7 8 +1 | ... ... ... ... ... ... ..3 <..3> | +2 | ... ... ... .1. .1. ... ..7 ..3 | +3 | ... ... ... ... ... ... ... ... | +4 | ... ... ... ... ... ... ... ... | +5 | ... ... ... ... ... ... ... ... | +6 | ... ... ... ... ... ... ... ... | +7 | ... ... .1. ... ... ... ... ... | +8 | ... ... .1. ... ... ... ... ... | + +COMMAND> probe +3 probes left +Are you sure you want to fire a probe? y +Arm NOVAMAX warhead? n +Manual or automatic- a +Target quadrant or quadrant§or- 1 1 + +Ensign Chekov- "The deep space probe is launched, Captain." +COMMAND> chart + STAR CHART FOR THE KNOWN GALAXY + 1 2 3 4 5 6 7 8 +1 | ... ... ... ... ... ... ..3 <..3> | +2 | ... ... ... .1. .1. ... ..7 ..3 | +3 | ... ... ... ... ... ... ... ... | +4 | ... ... ... ... ... ... ... ... | +5 | ... ... ... ... ... ... ... ... | +6 | ... ... ... ... ... ... ... ... | +7 | ... ... .1. ... ... ... ... ... | +8 | ... ... .1. ... ... ... ... ... | + +COMMAND> m a 7 4 1 10 + +Ensign Chekov- "Course laid in, Captain." + +Entering Quadrant 7 - 4. + +Lt. Uhura- "The deep space probe is now in Quadrant 1 - 7." + +Lt. Uhura- "The deep space probe is now in Quadrant 1 - 6." + +Lt. Uhura- "The deep space probe is now in Quadrant 1 - 5." + +Lt. Uhura- "The deep space probe is now in Quadrant 1 - 4." + +Lt. Uhura- "The deep space probe is now in Quadrant 1 - 3." + +Lt. Uhura- "The deep space probe is now in Quadrant 1 - 2." + +Lt. Uhura- "The deep space probe is now in Quadrant 1 - 1." + +[ANNOUNCEMENT ARRIVING...] + +Lt. Uhura- "The deep space probe has left the galaxy." +COMMAND> chart + STAR CHART FOR THE KNOWN GALAXY + 1 2 3 4 5 6 7 8 +1 | ..3 ..4 ..4 ..1 ..7 ..5 ..3 ..3 | +2 | ... ... ... .1. .1. ... ..7 ..3 | +3 | ... ... ... ... ... ... ... ... | +4 | ... ... ... ... ... ... ... ... | +5 | ... ... ... ... ... ... ... ... | +6 | ... ... ..2 ..5 ..2 ... ... ... | +7 | ... ... 111 <..5> ..4 ... ... ... | +8 | ... ... .19 ..5 ..7 ... ... ... | + +COMMAND> m a 3 1 + +COMMAND> chart + STAR CHART FOR THE KNOWN GALAXY + 1 2 3 4 5 6 7 8 +1 | ..3 ..4 ..4 ..1 ..7 ..5 ..3 ..3 | +2 | ... ... ... .1. .1. ... ..7 ..3 | +3 | ... ... ... ... ... ... ... ... | +4 | ... ... ... ... ... ... ... ... | +5 | ... ... ... ... ... ... ... ... | +6 | ... ... ..2 ..5 ..2 ... ... ... | +7 | ... ... 111 <..5> ..4 ... ... ... | +8 | ... ... .19 ..5 ..7 ... ... ... | + +COMMAND> m a 7 3 3 10 + +Ensign Chekov- "Course laid in, Captain." + +Entering Quadrant 7 - 3. + +83 unit hit on the Enterprise from Klingon at Sector 10 - 5 + + +Energy left 3992 shields down 100%, torpedoes left 10 +COMMAND> phasers + +Manual or automatic? a +Phasers locked on target. Energy available: 3980.41 +326 units required. Units to fire= 326 + +218 unit hit on Klingon at Sector 10 - 5 +***Klingon at Sector 10 - 5 destroyed. +COMMAND> m a 6 10 + +COMMAND> dock +Docked. +COMMAND> chart + STAR CHART FOR THE KNOWN GALAXY + 1 2 3 4 5 6 7 8 +1 | ..3 ..4 ..4 ..1 ..7 ..5 ..3 ..3 | +2 | ... ... ... .1. .1. ... ..7 ..3 | +3 | ... ... ... ... ... ... ... ... | +4 | ... ... ... ... ... ... ... ... | +5 | ... ... ... ... ... ... ... ... | +6 | ... 207 ..2 ..5 ..2 ... ... ... | +7 | ... ..8 <.11> ..5 ..4 ... ... ... | +8 | ... ..7 .19 ..5 ..7 ... ... ... | + +COMMAND> m a 1 10 + +COMMAND> xhart +LEGAL COMMANDS ARE: +SRSCAN STATUS REQUEST LRSCAN +PHASERS TORPEDO PHOTONS MOVE SHIELDS +DOCK DAMAGES CHART IMPULSE REST +WARP SENSORS ORBIT TRANSPORT MINE +CRYSTALS SHUTTLE PLANETS REPORT COMPUTER +COMMANDS EMEXIT PROBE SAVE FREEZE +ABANDON DESTRUCT DEATHRAY CAPTURE CLOAK +DEBUG MAYDAY SOS CALL QUIT +HELP SCORE CURSES +COMMAND> chart + STAR CHART FOR THE KNOWN GALAXY + 1 2 3 4 5 6 7 8 +1 | ..3 ..4 ..4 ..1 ..7 ..5 ..3 ..3 | +2 | ... ... ... .1. .1. ... ..7 ..3 | +3 | ... ... ... ... ... ... ... ... | +4 | ... ... ... ... ... ... ... ... | +5 | ... ... ... ... ... ... ... ... | +6 | ... 207 ..2 ..5 ..2 ... ... ... | +7 | ... ..8 <.11> ..5 ..4 ... ... ... | +8 | ... ..7 .19 ..5 ..7 ... ... ... | + +COMMAND> m a 7 4 1 10 + +Ensign Chekov- "Course laid in, Captain." + +Entering Quadrant 7 - 4. +COMMAND> chart + STAR CHART FOR THE KNOWN GALAXY + 1 2 3 4 5 6 7 8 +1 | ..3 ..4 ..4 ..1 ..7 ..5 ..3 ..3 | +2 | ... ... ... .1. .1. ... ..7 ..3 | +3 | ... ... ... ... ... ... ... ... | +4 | ... ... ... ... ... ... ... ... | +5 | ... ... ... ... ... ... ... ... | +6 | ... 207 ..2 ..5 ..2 ... ... ... | +7 | ... ..8 .11 <..5> ..4 ... ... ... | +8 | ... ..7 .19 ..5 ..7 ... ... ... | + +COMMAND> m a 2 9 + +COMMAND> chart + STAR CHART FOR THE KNOWN GALAXY + 1 2 3 4 5 6 7 8 +1 | ..3 ..4 ..4 ..1 ..7 ..5 ..3 ..3 | +2 | ... ... ... .1. .1. ... ..7 ..3 | +3 | ... ... ... ... ... ... ... ... | +4 | ... ... ... ... ... ... ... ... | +5 | ... ... ... ... ... ... ... ... | +6 | ... 207 ..2 ..5 ..2 ... ... ... | +7 | ... ..8 .11 <..5> ..4 ... ... ... | +8 | ... ..7 .19 ..5 ..7 ... ... ... | + +COMMAND> m a 7 2 2 10 + +Ensign Chekov- "Course laid in, Captain." + +Entering Quadrant 7 - 2. +COMMAND> chart + STAR CHART FOR THE KNOWN GALAXY + 1 2 3 4 5 6 7 8 +1 | ..3 ..4 ..4 ..1 ..7 ..5 ..3 ..3 | +2 | ... ... ... .1. .1. ... ..7 ..3 | +3 | ... ... ... ... ... ... ... ... | +4 | ... ... ... ... ... ... ... ... | +5 | ... ... ... ... ... ... ... ... | +6 | ..7 207 ..2 ..5 ..2 ... ... ... | +7 | ..1 <..8> .11 ..5 ..4 ... ... ... | +8 | ..5 ..7 .19 ..5 ..7 ... ... ... | + +COMMAND> sh up +Shields raised. +COMMAND> chart + STAR CHART FOR THE KNOWN GALAXY + 1 2 3 4 5 6 7 8 +1 | ..3 ..4 ..4 ..1 ..7 ..5 ..3 ..3 | +2 | ... ... ... .1. .1. ... ..7 ..3 | +3 | ... ... ... ... ... ... ... ... | +4 | ... ... ... ... ... ... ... ... | +5 | ... ... ... ... ... ... ... ... | +6 | ..7 207 ..2 ..5 ..2 ... ... ... | +7 | ..1 <..8> .11 ..5 ..4 ... ... ... | +8 | ..5 ..7 .19 ..5 ..7 ... ... ... | + +COMMAND> m a 5 2 10 10 + +Ensign Chekov- "Course laid in, Captain." + +Entering Quadrant 5 - 2. +COMMAND> chart + STAR CHART FOR THE KNOWN GALAXY + 1 2 3 4 5 6 7 8 +1 | ..3 ..4 ..4 ..1 ..7 ..5 ..3 ..3 | +2 | ... ... ... .1. .1. ... ..7 ..3 | +3 | ... ... ... ... ... ... ... ... | +4 | ..1 ..2 ..7 ... ... ... ... ... | +5 | 209 <..5> ..2 ... ... ... ... ... | +6 | ..7 207 ..2 ..5 ..2 ... ... ... | +7 | ..1 ..8 .11 ..5 ..4 ... ... ... | +8 | ..5 ..7 .19 ..5 ..7 ... ... ... | + +COMMAND> chart 6 2 1 10 + STAR CHART FOR THE KNOWN GALAXY + 1 2 3 4 5 6 7 8 +1 | ..3 ..4 ..4 ..1 ..7 ..5 ..3 ..3 | +2 | ... ... ... .1. .1. ... ..7 ..3 | +3 | ... ... ... ... ... ... ... ... | +4 | ..1 ..2 ..7 ... ... ... ... ... | +5 | 209 <..5> ..2 ... ... ... ... ... | +6 | ..7 207 ..2 ..5 ..2 ... ... ... | +7 | ..1 ..8 .11 ..5 ..4 ... ... ... | +8 | ..5 ..7 .19 ..5 ..7 ... ... ... | + +COMMAND> n a 6 2 1 10 +LEGAL COMMANDS ARE: +SRSCAN STATUS REQUEST LRSCAN +PHASERS TORPEDO PHOTONS MOVE SHIELDS +DOCK DAMAGES CHART IMPULSE REST +WARP SENSORS ORBIT TRANSPORT MINE +CRYSTALS SHUTTLE PLANETS REPORT COMPUTER +COMMANDS EMEXIT PROBE SAVE FREEZE +ABANDON DESTRUCT DEATHRAY CAPTURE CLOAK +DEBUG MAYDAY SOS CALL QUIT +HELP SCORE CURSES +COMMAND> chart + STAR CHART FOR THE KNOWN GALAXY + 1 2 3 4 5 6 7 8 +1 | ..3 ..4 ..4 ..1 ..7 ..5 ..3 ..3 | +2 | ... ... ... .1. .1. ... ..7 ..3 | +3 | ... ... ... ... ... ... ... ... | +4 | ..1 ..2 ..7 ... ... ... ... ... | +5 | 209 <..5> ..2 ... ... ... ... ... | +6 | ..7 207 ..2 ..5 ..2 ... ... ... | +7 | ..1 ..8 .11 ..5 ..4 ... ... ... | +8 | ..5 ..7 .19 ..5 ..7 ... ... ... | + +COMMAND> m a 6 2 1 10 + +Ensign Chekov- "Course laid in, Captain." + +Entering Quadrant 6 - 2. + +Enemy attack reduces shield strength to 82%, torpedoes left 10 +COMMAND> m a 1 9 + + +88 unit hit on the Enterprise from Klingon at Sector 5 - 9 + + +Energy left 4094 shields up 68%, torpedoes left 10 +COMMAND> torp 2 5 9 5 9 + +Track for torpedo number 1- 2 - 9 3 - 9 4 - 9 +5 - 9 +***Commander at Sector 5 - 9 damaged-- displaced by blast to Sector 6 - 8 + +Track for torpedo number 2- 2 - 9 3 - 9 4 - 9 +5 - 9 6 - 9 7 - 9 8 - 9 9 - 9 +10 - 9 +Torpedo missed. + +Enemy attack reduces shield strength to 66%, torpedoes left 8 +COMMAND> phasers + +Weapons Officer Sulu- "High-speed shield control enabled, sir." +Manual or automatic? a +Phasers locked on target. Energy available: 3869.31 +386 units required. Units to fire= 386 + +Shields lowered. + +101 unit hit on Commander at Sector 6 - 8 +***Commander at Sector 6 - 8 destroyed. +94 unit hit on Klingon at Sector 8 - 1 +***Klingon at Sector 8 - 1 destroyed. +110 expended on empty space. + +Shields raised. +COMMAND> chart + STAR CHART FOR THE KNOWN GALAXY + 1 2 3 4 5 6 7 8 +1 | ..3 ..4 ..4 ..1 ..7 ..5 ..3 ..3 | +2 | ... ... ... .1. .1. ... ..7 ..3 | +3 | ... ... ... ... ... ... ... ... | +4 | ..1 ..2 ..7 ... ... ... ... ... | +5 | 209 ..5 ..2 ... ... ... ... ... | +6 | ..7 <..7> ..2 ..5 ..2 ... ... ... | +7 | ..1 ..8 .11 ..5 ..4 ... ... ... | +8 | ..5 ..7 .19 ..5 ..7 ... ... ... | + +COMMAND> probe +2 probes left +Are you sure you want to fire a probe? y +Arm NOVAMAX warhead? n +Manual or automatic- a +Target quadrant or quadrant§or- 6 8 + +Ensign Chekov- "The deep space probe is launched, Captain." +COMMAND> chart + STAR CHART FOR THE KNOWN GALAXY + 1 2 3 4 5 6 7 8 +1 | ..3 ..4 ..4 ..1 ..7 ..5 ..3 ..3 | +2 | ... ... ... .1. .1. ... ..7 ..3 | +3 | ... ... ... ... ... ... ... ... | +4 | ..1 ..2 ..7 ... ... ... ... ... | +5 | 209 ..5 ..2 ... ... ... ... ... | +6 | ..7 <..7> ..2 ..5 ..2 ... ... ... | +7 | ..1 ..8 .11 ..5 ..4 ... ... ... | +8 | ..5 ..7 .19 ..5 ..7 ... ... ... | + +COMMAND> sh s +Do you wish to change shield energy? n +Shields are up. Do you want them down? y +Shields lowered. +COMMAND> m a 1 5 + + +Lt. Uhura- "The deep space probe is now in Quadrant 6 - 3." + +Lt. Uhura- "The deep space probe is now in Quadrant 6 - 4." +COMMAND> m 5 3 +(Manual movement assumed.) + +Helmsman Sulu- "Aye, Sir." + +Entering Quadrant 3 - 7. + +Lt. Uhura- "The deep space probe is now in Quadrant 6 - 5." + +Lt. Uhura- "The deep space probe is now in Quadrant 6 - 6." + +Lt. Uhura- "The deep space probe is now in Quadrant 6 - 7." + +Lt. Uhura- "The deep space probe is now in Quadrant 6 - 8." + +[ANNOUNCEMENT ARRIVING...] + +Lt. Uhura- "The deep space probe has left the galaxy." +COMMAND> chart + STAR CHART FOR THE KNOWN GALAXY + 1 2 3 4 5 6 7 8 +1 | ..3 ..4 ..4 ..1 ..7 ..5 ..3 ..3 | +2 | ... ... ... .1. .1. ..4 ..7 ..3 | +3 | ... ... ... ... ... ..7 <..1> ..7 | +4 | ..1 ..2 ..7 ... ... ..4 ..4 ..1 | +5 | 209 ..5 ..2 ... ... ... ... ... | +6 | ..7 ..7 ..2 ..5 ..2 ..9 ..6 ..6 | +7 | ..1 ..8 .11 ..5 ..4 ... ... ... | +8 | ..5 ..7 .19 ..5 ..7 ... ... ... | + +COMMAND> m a 10 10 + +COMMAND> chart + STAR CHART FOR THE KNOWN GALAXY + 1 2 3 4 5 6 7 8 +1 | ..3 ..4 ..4 ..1 ..7 ..5 ..3 ..3 | +2 | ... ... ... .1. .1. ..4 ..7 ..3 | +3 | ... ... ... ... ... ..7 <..1> ..7 | +4 | ..1 ..2 ..7 ... ... ..4 ..4 ..1 | +5 | 209 ..5 ..2 ... ... ... ... ... | +6 | ..7 ..7 ..2 ..5 ..2 ..9 ..6 ..6 | +7 | ..1 ..8 .11 ..5 ..4 ... ... ... | +8 | ..5 ..7 .19 ..5 ..7 ... ... ... | + +COMMAND> m a 5 7 1 10 + +Ensign Chekov- "Course laid in, Captain." + +Entering Quadrant 5 - 7. +COMMAND> chart + STAR CHART FOR THE KNOWN GALAXY + 1 2 3 4 5 6 7 8 +1 | ..3 ..4 ..4 ..1 ..7 ..5 ..3 ..3 | +2 | ... ... ... .1. .1. ..4 ..7 ..3 | +3 | ... ... ... ... ... ..7 ..1 ..7 | +4 | ..1 ..2 ..7 ... ... ..4 ..4 ..1 | +5 | 209 ..5 ..2 ... ... ..3 <..4> ..7 | +6 | ..7 ..7 ..2 ..5 ..2 ..9 ..6 ..6 | +7 | ..1 ..8 .11 ..5 ..4 ... ... ... | +8 | ..5 ..7 .19 ..5 ..7 ... ... ... | + +COMMAND> m a 7 7 1 10 + +Ensign Chekov- "Course laid in, Captain." + +Entering Quadrant 7 - 7. +COMMAND> chart + STAR CHART FOR THE KNOWN GALAXY + 1 2 3 4 5 6 7 8 +1 | ..3 ..4 ..4 ..1 ..7 ..5 ..3 ..3 | +2 | ... ... ... .1. .1. ..4 ..7 ..3 | +3 | ... ... ... ... ... ..7 ..1 ..7 | +4 | ..1 ..2 ..7 ... ... ..4 ..4 ..1 | +5 | 209 ..5 ..2 ... ... ..3 ..4 ..7 | +6 | ..7 ..7 ..2 ..5 ..2 ..9 ..6 ..6 | +7 | ..1 ..8 .11 ..5 ..4 ..8 <..4> ..6 | +8 | ..5 ..7 .19 ..5 ..7 ..1 ..5 ..3 | + +COMMAND> chart 5 4 10 10 + STAR CHART FOR THE KNOWN GALAXY + 1 2 3 4 5 6 7 8 +1 | ..3 ..4 ..4 ..1 ..7 ..5 ..3 ..3 | +2 | ... ... ... .1. .1. ..4 ..7 ..3 | +3 | ... ... ... ... ... ..7 ..1 ..7 | +4 | ..1 ..2 ..7 ... ... ..4 ..4 ..1 | +5 | 209 ..5 ..2 ... ... ..3 ..4 ..7 | +6 | ..7 ..7 ..2 ..5 ..2 ..9 ..6 ..6 | +7 | ..1 ..8 .11 ..5 ..4 ..8 <..4> ..6 | +8 | ..5 ..7 .19 ..5 ..7 ..1 ..5 ..3 | + +COMMAND> chart + STAR CHART FOR THE KNOWN GALAXY + 1 2 3 4 5 6 7 8 +1 | ..3 ..4 ..4 ..1 ..7 ..5 ..3 ..3 | +2 | ... ... ... .1. .1. ..4 ..7 ..3 | +3 | ... ... ... ... ... ..7 ..1 ..7 | +4 | ..1 ..2 ..7 ... ... ..4 ..4 ..1 | +5 | 209 ..5 ..2 ... ... ..3 ..4 ..7 | +6 | ..7 ..7 ..2 ..5 ..2 ..9 ..6 ..6 | +7 | ..1 ..8 .11 ..5 ..4 ..8 <..4> ..6 | +8 | ..5 ..7 .19 ..5 ..7 ..1 ..5 ..3 | + +COMMAND> m a 5 4 10 10 + +Ensign Chekov- "Course laid in, Captain." + +Entering Quadrant 5 - 4. + +257 unit hit on the Enterprise from Klingon at Sector 9 - 8 + +90 unit hit on the Enterprise from Klingon at Sector 3 - 8 + + +Energy left 1840 shields down 66%, torpedoes left 8 + +Mc Coy- "Sickbay to bridge. We suffered 3 casualties + in that last attack." +COMMAND> phasers + +Manual or automatic? a +Phasers locked on target. Energy available: 1441.14 +490 units required. Units to fire= 490 + +129 unit hit on Klingon at Sector 9 - 8 +***Klingon at Sector 9 - 8 destroyed. +101 unit hit on Klingon at Sector 3 - 8 +***Mr. Spock- "Captain, the vessel at Sector 3 - 8 + has just lost its firepower." +148 expended on empty space. + +Enemy attack reduces shield strength to 66%, torpedoes left 8 +COMMAND> torp 1 3 8 + +Torpedo track- 9 - 10 8 - 9 7 - 9 +6 - 9 5 - 9 4 - 8 3 - 8 +***Klingon at Sector 3 - 8 destroyed. +COMMAND> chart + STAR CHART FOR THE KNOWN GALAXY + 1 2 3 4 5 6 7 8 +1 | ..3 ..4 ..4 ..1 ..7 ..5 ..3 ..3 | +2 | ... ... ... .1. .1. ..4 ..7 ..3 | +3 | ... ... ... ... ... ..7 ..1 ..7 | +4 | ..1 ..2 ..7 ..6 ..8 ..4 ..4 ..1 | +5 | 209 ..5 ..2 <..3> ..5 ..3 ..4 ..7 | +6 | ..7 ..7 ..2 ..5 ..2 ..9 ..6 ..6 | +7 | ..1 ..8 .11 ..5 ..4 ..8 ..4 ..6 | +8 | ..5 ..7 .19 ..5 ..7 ..1 ..5 ..3 | + +COMMAND> m a 1 5 + +COMMAND> sh up +Shields raised. +COMMAND> chart + STAR CHART FOR THE KNOWN GALAXY + 1 2 3 4 5 6 7 8 +1 | ..3 ..4 ..4 ..1 ..7 ..5 ..3 ..3 | +2 | ... ... ... .1. .1. ..4 ..7 ..3 | +3 | ... ... ... ... ... ..7 ..1 ..7 | +4 | ..1 ..2 ..7 ..6 ..8 ..4 ..4 ..1 | +5 | 209 ..5 ..2 <..3> ..5 ..3 ..4 ..7 | +6 | ..7 ..7 ..2 ..5 ..2 ..9 ..6 ..6 | +7 | ..1 ..8 .11 ..5 ..4 ..8 ..4 ..6 | +8 | ..5 ..7 .19 ..5 ..7 ..1 ..5 ..3 | + +COMMAND> m a 3 4 10 5 + +Ensign Chekov- "Course laid in, Captain." + +Entering Quadrant 3 - 4. +COMMAND> chart + STAR CHART FOR THE KNOWN GALAXY + 1 2 3 4 5 6 7 8 +1 | ..3 ..4 ..4 ..1 ..7 ..5 ..3 ..3 | +2 | ... ... ..3 215 .12 ..4 ..7 ..3 | +3 | ... ... ..9 <..6> ..4 ..7 ..1 ..7 | +4 | ..1 ..2 ..7 ..6 ..8 ..4 ..4 ..1 | +5 | 209 ..5 ..2 ..3 ..5 ..3 ..4 ..7 | +6 | ..7 ..7 ..2 ..5 ..2 ..9 ..6 ..6 | +7 | ..1 ..8 .11 ..5 ..4 ..8 ..4 ..6 | +8 | ..5 ..7 .19 ..5 ..7 ..1 ..5 ..3 | + +COMMAND> m a 1 1 + +COMMAND> sh up +Shields already up. +COMMAND> chart + STAR CHART FOR THE KNOWN GALAXY + 1 2 3 4 5 6 7 8 +1 | ..3 ..4 ..4 ..1 ..7 ..5 ..3 ..3 | +2 | ... ... ..3 215 .12 ..4 ..7 ..3 | +3 | ... ... ..9 <..6> ..4 ..7 ..1 ..7 | +4 | ..1 ..2 ..7 ..6 ..8 ..4 ..4 ..1 | +5 | 209 ..5 ..2 ..3 ..5 ..3 ..4 ..7 | +6 | ..7 ..7 ..2 ..5 ..2 ..9 ..6 ..6 | +7 | ..1 ..8 .11 ..5 ..4 ..8 ..4 ..6 | +8 | ..5 ..7 .19 ..5 ..7 ..1 ..5 ..3 | + +COMMAND> m a 2 4 10 1 + +Ensign Chekov- "Course laid in, Captain." + +Entering Quadrant 2 - 4. + +75 unit hit on the Enterprise from Klingon at Sector 8 - 4 + +19 unit hit on the Enterprise from Klingon at Sector 4 - 9 + + +Energy left 155 shields up 60%, torpedoes left 7 +COMMAND> phasers + +Insufficient energy to activate high-speed shield control. +COMMAND> torpedo 2 +Target sector for torpedo number 1- 8 5 4 9 +Target sector for torpedo number 2- 4 9 + +Track for torpedo number 1- 9 - 2 9 - 3 8 - 4 +***Klingon at Sector 8 - 4 destroyed. + +Track for torpedo number 2- 9 - 2 9 - 3 8 - 4 +7 - 5 7 - 6 6 - 7 5 - 8 5 - 9 +4 - 10 +Torpedo missed. + +16 unit hit on the Enterprise from Klingon at Sector 4 - 9 + + +Energy left 113 shields up 59%, torpedoes left 5 +COMMAND> torp 1 +Target sector for torpedo number 1- 4 9 + +Torpedo track- 9 - 2 8 - 3 8 - 4 +7 - 5 6 - 6 5 - 7 5 - 8 4 - 9 +***Klingon at Sector 4 - 9 destroyed. +COMMAND> m a 2 10 + + +Engineering to bridge-- +We don't have enough energy, but we could do it at warp 4, +if you'll lower the shields. +COMMAND> sh d +Shields lowered. +COMMAND> warp 4 +Helmsman Sulu- "Warp factor 4, Captain." +COMMAND> m a 2 10 + +COMMAND> dock +Docked. +COMMAND> chart + STAR CHART FOR THE KNOWN GALAXY + 1 2 3 4 5 6 7 8 +1 | ..3 ..4 ..4 ..1 ..7 ..5 ..3 ..3 | +2 | ... ... ..3 <.15> .12 ..4 ..7 ..3 | +3 | ... ... ..9 ..6 ..4 ..7 ..1 ..7 | +4 | ..1 ..2 ..7 ..6 ..8 ..4 ..4 ..1 | +5 | 209 ..5 ..2 ..3 ..5 ..3 ..4 ..7 | +6 | ..7 ..7 ..2 ..5 ..2 ..9 ..6 ..6 | +7 | ..1 ..8 .11 ..5 ..4 ..8 ..4 ..6 | +8 | ..5 ..7 .19 ..5 ..7 ..1 ..5 ..3 | + +COMMAND> m a 1 1 + + +Enterprise blocked by object at 2 - 9; +Emergency stop required 80 units of energy. +Collision detected +COMMAND> m a 10 2 + +COMMAND> chart + STAR CHART FOR THE KNOWN GALAXY + 1 2 3 4 5 6 7 8 +1 | ..3 ..4 ..4 ..1 ..7 ..5 ..3 ..3 | +2 | ... ... ..3 <.15> .12 ..4 ..7 ..3 | +3 | ... ... ..9 ..6 ..4 ..7 ..1 ..7 | +4 | ..1 ..2 ..7 ..6 ..8 ..4 ..4 ..1 | +5 | 209 ..5 ..2 ..3 ..5 ..3 ..4 ..7 | +6 | ..7 ..7 ..2 ..5 ..2 ..9 ..6 ..6 | +7 | ..1 ..8 .11 ..5 ..4 ..8 ..4 ..6 | +8 | ..5 ..7 .19 ..5 ..7 ..1 ..5 ..3 | + +COMMAND> m a 5 1 1 10 + +Ensign Chekov- "Course laid in, Captain." + +Entering Quadrant 5 - 1. + +150 unit hit on the Enterprise from Klingon at Sector 2 - 4 + +161 unit hit on the Enterprise from Klingon at Sector 2 - 7 + + +Energy left 4477 shields down 100%, torpedoes left 10 + +[ANNOUNCEMENT ARRIVING...] + +Message from Starfleet Command Stardate 4999.03 + Supernova in Quadrant 2 - 4; caution advised. + +[ANNOUNCEMENT ARRIVING...] + +Message from Starfleet Command Stardate 4999.40 + Supernova in Quadrant 6 - 4; caution advised. +COMMAND> phasers + +Manual or automatic? a +Phasers locked on target. Energy available: 4282.64 +532 units required. Units to fire= 532 + +158 unit hit on Klingon at Sector 2 - 4 +***Klingon at Sector 2 - 4 destroyed. +119 unit hit on Klingon at Sector 2 - 7 +***Mr. Spock- "Captain, the vessel at Sector 2 - 7 + has just lost its firepower." +195 expended on empty space. + +Enemy attack reduces shield strength to 100%, torpedoes left 10 +COMMAND> torp 1 2 7 + +Torpedo track- 1 - 9 2 - 8 + +***Black hole at Sector 2 - 8 swallows torpedo. + +Enemy attack reduces shield strength to 100%, torpedoes left 9 +COMMAND> phasers + +Manual or automatic? a +Phasers locked on target. Energy available: 3750.64 +101 units required. Units to fire= 101 + +64 unit hit on Klingon at Sector 2 - 7 +***Klingon at Sector 2 - 7 destroyed. + + + +It is stardate 4999.7. + +You have smashed the Klingon invasion fleet and saved +the Federation. + +In fact, you have done so well that Starfleet Command +promotes you one step in rank from "Novice" to "Fair". + +LIVE LONG AND PROSPER. + + +Your score -- + 8 ordinary Klingons destroyed 80 + 1 Klingon commanders destroyed 50 + 0.57 Klingons per stardate 286 + 3 casualties incurred -3 +Bonus for winning Novice game 100 + +TOTAL SCORE 513 +[PRESS ENTER TO CONTINUE] + + + + + + + + + + + + + + + + + + + + + + + + + +May the Great Bird of the Galaxy roost upon your home planet. diff --git a/test/test08.chk-old b/test/test08.chk-old deleted file mode 100644 index a7b5ce4..0000000 --- a/test/test08.chk-old +++ /dev/null @@ -1,855 +0,0 @@ - - --SUPER- STAR TREK - - - -Stardate 2964. - -15 Klingons. -An unknown number of Romulans. -And one (GULP) Super-Commander. -7 stardates. -5 starbases in 7 - 8 7 - 3 1 - 1 1 - 8 7 - 4 - -The Enterprise is currently in Quadrant 6 - 7 Sector 7 - 10 - -Good Luck! - YOU'LL NEED IT. -COMMAND> # SST2K version 2.4 -# Test winning end of game -# recorded by esr@snark.thyrsus.com on Wed Apr 24 12:57:36 2019 -chart - STAR CHART FOR THE KNOWN GALAXY - 1 2 3 4 5 6 7 8 -1 | .1. ... ... ... ... ... ... .1. | -2 | ... ... ... ... ... ... ... ... | -3 | ... ... ... ... ... ... ... ... | -4 | ... ... ... ... ... ... ... ... | -5 | ... ... ... ... ... ..3 104 ..5 | -6 | ... ... ... ... ... ..7 <..8> ..3 | -7 | ... ... .1. .1. ... ..2 ..5 .16 | -8 | ... ... ... ... ... ... ... ... | - -COMMAND> m a 7 8 - -COMMAND> m a 7 7 - -COMMAND> m a 1 1 - - -[ANNOUNCEMENT ARRIVING...] - -Message from Starfleet Command Stardate 2964.92 - Supernova in Quadrant 4 - 5; caution advised. -COMMAND> sh up -Shields raised. -COMMAND> m a 5 7 10 1 - -Ensign Chekov- "Course laid in, Captain." - -Entering Quadrant 5 - 7. - -Enemy attack reduces shield strength to 84%, torpedoes left 10 - -51 unit hit from Klingon at 5 - 3 - - -Energy left 4755 shields up 75%, torpedoes left 10 -COMMAND> torp 1 5 3 - -Torpedo track- 9 - 1 8 - 2 7 - 2 -6 - 2 5 - 3 -***Commander at Sector 5 - 3 damaged but not destroyed. - -Enemy attack reduces shield strength to 74%, torpedoes left 9 -COMMAND> torp 1 5 3 - -Torpedo track- 9 - 1 8 - 2 7 - 2 -6 - 3 5 - 3 -***Commander at Sector 5 - 3 destroyed. -COMMAND> chart - STAR CHART FOR THE KNOWN GALAXY - 1 2 3 4 5 6 7 8 -1 | .1. ... ... ... ... ... ... .1. | -2 | ... ... ... ... ... ... ... ... | -3 | ... ... ... ... ... ... ... ... | -4 | ... ... ... ... *** ..4 ..8 ..1 | -5 | ... ... ... ... ... ..3 <..4> ..5 | -6 | ... ... ... ... ... ..7 ..8 ..3 | -7 | ... ... .1. .1. ... ..2 ..5 .16 | -8 | ... ... ... ... ... ... ... ... | - -COMMAND> sh down -Shields lowered. -COMMAND> m a 1 1 - - -[ANNOUNCEMENT ARRIVING...] - -***Enterprise caught in long range tractor beam-- -Enterprise is pulled to Quadrant 1 - 5, Sector 10 - 8 -Shields raised. - -98 unit hit from Klingon at 3 - 7 - - -Energy left 4492 shields up 65%, torpedoes left 8 -COMMAND> m a 10 6 - - -101 unit hit from Klingon at 3 - 7 - - -Energy left 4391 shields up 59%, torpedoes left 8 -COMMAND> torp 1 3 7 - -Torpedo track- 9 - 6 8 - 6 7 - 7 -6 - 7 5 - 7 4 - 7 3 - 7 -***Commander at Sector 3 - 7 damaged-- displaced by blast to Sector 9 - 7 - -90 unit hit from Klingon at 9 - 7 - - -Energy left 4250 shields up 54%, torpedoes left 7 -COMMAND> torp 1 9 7 - -Torpedo track- 9 - 7 -***Commander at Sector 9 - 7 destroyed. -COMMAND> chart - STAR CHART FOR THE KNOWN GALAXY - 1 2 3 4 5 6 7 8 -1 | .1. ... ... ..1 <..5> ..8 ... .1. | -2 | ... ... ... ..3 ..8 ..3 ... ... | -3 | ... ... ... ... ... ... ... ... | -4 | ... ... ... ... *** ..4 ..8 ..1 | -5 | ... ... ... ... ... ..3 ..4 ..5 | -6 | ... ... ... ... ... ..7 ..8 ..3 | -7 | ... ... .1. .1. ... ..2 ..5 .16 | -8 | ... ... ... ... ... ... ... ... | - -COMMAND> m a 1 8 1 1 - -Ensign Chekov- "Course laid in, Captain." - -[ANNOUNCEMENT ARRIVING...] - -***Enterprise caught in long range tractor beam-- -Enterprise is pulled to Quadrant 5 - 2, Sector 10 - 4 - -177 unit hit from Klingon at 4 - 3 - - -Energy left 3920 shields up 48%, torpedoes left 6 -COMMAND> m a 10 1 - - -198 unit hit from Klingon at 4 - 3 - - -Energy left 3722 shields up 42%, torpedoes left 6 -COMMAND> torp a 4 3 - -Beg your pardon, Captain? -COMMAND> torp 1 4 3 - -Torpedo track- 9 - 1 8 - 2 7 - 2 -6 - 2 5 - 3 4 - 3 -***Commander at Sector 4 - 3 damaged-- displaced by blast to Sector 9 - 1 - -29 unit hit from Klingon at 9 - 1 - - -Energy left 3617 shields up 41%, torpedoes left 5 -COMMAND> torp 1 9 1 - -Torpedo track- 9 - 1 -***Commander at Sector 9 - 1 destroyed. -COMMAND> chart - STAR CHART FOR THE KNOWN GALAXY - 1 2 3 4 5 6 7 8 -1 | .1. ... ... ..1 ..5 ..8 ... .1. | -2 | ... ... ... ..3 ..8 ..3 ... ... | -3 | ... ... ... ... ... ... ... ... | -4 | ..6 ..7 ..6 ... *** ..4 ..8 101 | -5 | 208 <..7> ..3 ... ... ..3 ..4 ..5 | -6 | ..9 ..6 ..3 ... ... ..7 ..8 ..3 | -7 | ... ... .1. .1. ... ..2 ..5 .16 | -8 | ... ... ... ... ... ... ... ... | - -COMMAND> m a 7 3 5 5 - -Ensign Chekov- "Course laid in, Captain." - -Entering Quadrant 7 - 3. - -[ANNOUNCEMENT ARRIVING...] -Lt. Uhura- "Captain, Starfleet Intelligence reports - the Super-commander is in Quadrant 4 - 8. -COMMAND> m a 1 3 - - -[ANNOUNCEMENT ARRIVING...] -Lt. Uhura- "Captain, Starfleet Intelligence reports - the Super-commander is in Quadrant 5 - 8. -COMMAND> m a 1 4 - -COMMAND> dock -Docked. -COMMAND> chart - STAR CHART FOR THE KNOWN GALAXY - 1 2 3 4 5 6 7 8 -1 | .1. ... ... ..1 ..5 ..8 ... .1. | -2 | ... ... ... ..3 ..8 ..3 ... ... | -3 | ... ... ... ... ... ... ... ... | -4 | ..6 ..7 ..6 ... *** ..4 ..8 ..1 | -5 | 208 ..7 ..3 ... ... ..3 ..4 105 | -6 | ..9 ..6 ..3 ..6 ... ..7 ..8 ..3 | -7 | ... ..1 <.18> .12 ... ..2 ..5 .16 | -8 | ... ..5 ..5 ..5 ... ... ... ... | - -COMMAND> m a 5 1 10 10 - -Ensign Chekov- "Course laid in, Captain." - -Entering Quadrant 5 - 1. - -Enemy attack reduces shield strength to 90%, torpedoes left 10 - -Enemy attack reduces shield strength to 85%, torpedoes left 10 - -[ANNOUNCEMENT ARRIVING...] - -Message from Starfleet Command Stardate 2967.40 - Supernova in Quadrant 1 - 6; caution advised. -COMMAND> p a - -Weapons Officer Sulu- "High-speed shield control enabled, sir." -Phasers locked on target. Energy available: 4354.89 -641 units required. Units to fire= 641 - -Shields lowered. - -160 unit hit on Klingon at Sector 4 - 6 -***Klingon at Sector 4 - 6 destroyed. -52 unit hit on Klingon at Sector 4 - 8 -***Mr. Spock- "Captain, the vessel at Sector 4 - 8 - has just lost its firepower." -293 expended on empty space. - -Shields raised. - -Enemy attack reduces shield strength to 85%, torpedoes left 10 -COMMAND> capture -Klingon captain at 4 - 8 surrenders. -192 Klingons commit suicide rather than be taken captive. -7 captives taken -***Klingon at Sector 10 - 10 destroyed. -COMMAND> chart - STAR CHART FOR THE KNOWN GALAXY - 1 2 3 4 5 6 7 8 -1 | .1. ... ... ..1 ..5 *** ... .1. | -2 | ... ... ... ..3 ..8 ..3 ... ... | -3 | ... ... ... ... ... ... ... ... | -4 | ..6 ..7 ..6 ... *** ..4 ..8 ..1 | -5 |<..8> ..7 ..3 ... ... ..3 ..4 105 | -6 | ..9 ..6 ..3 ..6 ... ..7 ..8 ..3 | -7 | ... ..1 .18 .12 ... ..2 ..5 .16 | -8 | ... ..5 ..5 ..5 ... ... ... ... | - -COMMAND> rep -You were playing a short good game. -Your secret password is "acs" -5 of 15 Klingons have been killed, including 3 Commanders. -The Super Commander has not been destroyed. -There are 5 bases. -No Starbase is currently under attack. -7 Klingons in brig. -You have 3 deep space probes. - -COMMAND> chart - STAR CHART FOR THE KNOWN GALAXY - 1 2 3 4 5 6 7 8 -1 | .1. ... ... ..1 ..5 *** ... .1. | -2 | ... ... ... ..3 ..8 ..3 ... ... | -3 | ... ... ... ... ... ... ... ... | -4 | ..6 ..7 ..6 ... *** ..4 ..8 ..1 | -5 |<..8> ..7 ..3 ... ... ..3 ..4 105 | -6 | ..9 ..6 ..3 ..6 ... ..7 ..8 ..3 | -7 | ... ..1 .18 .12 ... ..2 ..5 .16 | -8 | ... ..5 ..5 ..5 ... ... ... ... | - -COMMAND> sh down -Shields lowered. -COMMAND> m a 1 10 - - -[ANNOUNCEMENT ARRIVING...] -Lt. Uhura- "Captain, Starfleet Intelligence reports - the Super-commander is in Quadrant 7 - 7. -COMMAND> chart - STAR CHART FOR THE KNOWN GALAXY - 1 2 3 4 5 6 7 8 -1 | .1. ... ... ..1 ..5 *** ... .1. | -2 | ... ... ... ..3 ..8 ..3 ... ... | -3 | ... ... ... ... ... ... ... ... | -4 | ..6 ..7 ..6 ... *** ..4 ..8 ..1 | -5 |<..8> ..7 ..3 ... ... ..3 ..4 ..5 | -6 | ..9 ..6 ..3 ..6 ... ..7 ..8 ..3 | -7 | ... ..1 .18 .12 ... ..2 105 .16 | -8 | ... ..5 ..5 ..5 ... ... ... ... | - -COMMAND> m s 4 1 1 1 - -Beg your pardon, Captain? -COMMAND> chart - STAR CHART FOR THE KNOWN GALAXY - 1 2 3 4 5 6 7 8 -1 | .1. ... ... ..1 ..5 *** ... .1. | -2 | ... ... ... ..3 ..8 ..3 ... ... | -3 | ... ... ... ... ... ... ... ... | -4 | ..6 ..7 ..6 ... *** ..4 ..8 ..1 | -5 |<..8> ..7 ..3 ... ... ..3 ..4 ..5 | -6 | ..9 ..6 ..3 ..6 ... ..7 ..8 ..3 | -7 | ... ..1 .18 .12 ... ..2 105 .16 | -8 | ... ..5 ..5 ..5 ... ... ... ... | - -COMMAND> m a 4 1 10 10 - -Ensign Chekov- "Course laid in, Captain." - -Entering Quadrant 4 - 1. -COMMAND> chart - STAR CHART FOR THE KNOWN GALAXY - 1 2 3 4 5 6 7 8 -1 | .1. ... ... ..1 ..5 *** ... .1. | -2 | ... ... ... ..3 ..8 ..3 ... ... | -3 | ..3 ..5 ... ... ... ... ... ... | -4 |<..6> ..7 ..6 ... *** ..4 ..8 ..1 | -5 | ..8 ..7 ..3 ... ... ..3 ..4 ..5 | -6 | ..9 ..6 ..3 ..6 ... ..7 ..8 ..3 | -7 | ... ..1 .18 .12 ... ..2 105 .16 | -8 | ... ..5 ..5 ..5 ... ... ... ... | - -COMMAND> m a 1 10 - -COMMAND> chart - STAR CHART FOR THE KNOWN GALAXY - 1 2 3 4 5 6 7 8 -1 | .1. ... ... ..1 ..5 *** ... .1. | -2 | ... ... ... ..3 ..8 ..3 ... ... | -3 | ..3 ..5 ... ... ... ... ... ... | -4 |<..6> ..7 ..6 ... *** ..4 ..8 ..1 | -5 | ..8 ..7 ..3 ... ... ..3 ..4 ..5 | -6 | ..9 ..6 ..3 ..6 ... ..7 ..8 ..3 | -7 | ... ..1 .18 .12 ... ..2 ..5 .16 | -8 | ... ..5 ..5 ..5 ... ... ... ... | - -COMMAND> m a 3 1 1 10 - -Ensign Chekov- "Course laid in, Captain." - -Entering Quadrant 3 - 1. - -[ANNOUNCEMENT ARRIVING...] - -Message from Starfleet Command Stardate 2968.64 - Supernova in Quadrant 2 - 8; caution advised. -COMMAND> chart - STAR CHART FOR THE KNOWN GALAXY - 1 2 3 4 5 6 7 8 -1 | .1. ... ... ..1 ..5 *** ... .1. | -2 | ..1 ..9 ... ..3 ..8 ..3 ... *** | -3 |<..3> ..5 ... ... ... ... ... ... | -4 | ..6 ..7 ..6 ... *** ..4 ..8 ..1 | -5 | ..8 ..7 ..3 ... ... ..3 ..4 ..5 | -6 | ..9 ..6 ..3 ..6 ... ..7 ..8 ..3 | -7 | ... ..1 .18 .12 ... ..2 ..5 .16 | -8 | ... ..5 ..5 ..5 ... ... ... ... | - -COMMAND> chart - STAR CHART FOR THE KNOWN GALAXY - 1 2 3 4 5 6 7 8 -1 | .1. ... ... ..1 ..5 *** ... .1. | -2 | ..1 ..9 ... ..3 ..8 ..3 ... *** | -3 |<..3> ..5 ... ... ... ... ... ... | -4 | ..6 ..7 ..6 ... *** ..4 ..8 ..1 | -5 | ..8 ..7 ..3 ... ... ..3 ..4 ..5 | -6 | ..9 ..6 ..3 ..6 ... ..7 ..8 ..3 | -7 | ... ..1 .18 .12 ... ..2 ..5 .16 | -8 | ... ..5 ..5 ..5 ... ... ... ... | - -COMMAND> probe -3 probes left -Are you sure you want to fire a probe? y -Arm NOVAMAX warhead? n -Manual or automatic- a -Target quadrant or quadrant§or- 3 8 - -Ensign Chekov- "The deep space probe is launched, Captain." -COMMAND> chart - STAR CHART FOR THE KNOWN GALAXY - 1 2 3 4 5 6 7 8 -1 | .1. ... ... ..1 ..5 *** ... .1. | -2 | ..1 ..9 ... ..3 ..8 ..3 ... *** | -3 |<..3> ..5 ... ... ... ... ... ... | -4 | ..6 ..7 ..6 ... *** ..4 ..8 ..1 | -5 | ..8 ..7 ..3 ... ... ..3 ..4 ..5 | -6 | ..9 ..6 ..3 ..6 ... ..7 ..8 ..3 | -7 | ... ..1 .18 .12 ... ..2 ..5 .16 | -8 | ... ..5 ..5 ..5 ... ... ... ... | - -COMMAND> m a 1 1 10 10 - -Ensign Chekov- "Course laid in, Captain." - -Entering Quadrant 1 - 1. - -Lt. Uhura- "The deep space probe is now in Quadrant 3 - 2." - -Lt. Uhura- "The deep space probe is now in Quadrant 3 - 3." - -Lt. Uhura- "The deep space probe is now in Quadrant 3 - 4." - -Lt. Uhura- "The deep space probe is now in Quadrant 3 - 5." - -Lt. Uhura- "The deep space probe is now in Quadrant 3 - 6." -COMMAND> m a 6 9 - - -Enterprise blocked by object at 8 - 10; -Emergency stop required 125 units of energy. -Collision detected - -Lt. Uhura- "The deep space probe is now in Quadrant 3 - 7." -COMMAND> m a 9 5 - - -Lt. Uhura- "The deep space probe is now in Quadrant 3 - 8." - -[ANNOUNCEMENT ARRIVING...] - -Lt. Uhura- "The deep space probe has left the galaxy." -COMMAND> d -Docked. -7 captured Klingons transferred to base -COMMAND> chart - STAR CHART FOR THE KNOWN GALAXY - 1 2 3 4 5 6 7 8 -1 |<.13> ..7 ... ..1 ..5 *** ... .1. | -2 | ..1 ..9 ... ..3 ..8 ..3 ... *** | -3 | ..3 ..5 ..3 ..2 ..2 ..1 ..5 ..6 | -4 | ..6 ..7 ..6 ... *** ..4 ..8 ..1 | -5 | ..8 ..7 ..3 ... ... ..3 ..4 ..5 | -6 | ..9 ..6 ..3 ..6 ... ..7 ..8 ..3 | -7 | ... ..1 .18 .12 ... ..2 ..5 .16 | -8 | ... ..5 ..5 ..5 ... ... ... ... | - -COMMAND> -COMMAND> sh down -Shields already down. -COMMAND> -COMMAND> m a 2 2 10 10 - -Ensign Chekov- "Course laid in, Captain." - -Entering Quadrant 2 - 2. -COMMAND> -COMMAND> m a 4 3 10 10 - -Ensign Chekov- "Course laid in, Captain." - -Entering Quadrant 4 - 3. -COMMAND> -COMMAND> m a 7 2 10 1 - -Ensign Chekov- "Course laid in, Captain." - -Entering Quadrant 7 - 2. - -[ANNOUNCEMENT ARRIVING...] - -Message from Starfleet Command Stardate 2972.03 - Supernova in Quadrant 5 - 2; caution advised. -COMMAND> -COMMAND> rep -You were playing a short good game. -Your secret password is "acs" -5 of 15 Klingons have been killed, including 3 Commanders. -The Super Commander has not been destroyed. -There are 5 bases. -No Starbase is currently under attack. -You have 2 deep space probes. - -COMMAND> -COMMAND> m a 7 4 10 10 - -Ensign Chekov- "Course laid in, Captain." - -Entering Quadrant 7 - 4. - -[ANNOUNCEMENT ARRIVING...] -Lt. Uhura- "Captain, Starfleet Intelligence reports - the Super-commander is in Quadrant 8 - 5. - -[ANNOUNCEMENT ARRIVING...] -Lt. Uhura- "Captain, Starfleet Intelligence reports - the Super-commander is in Quadrant 8 - 5. -COMMAND> -COMMAND> sh up -Shields raised. -COMMAND> -COMMAND> m a 8 5 1 1 - -Ensign Chekov- "Course laid in, Captain." - -Entering Quadrant 8 - 5. - -37 unit hit from Klingon at 4 - 6 - -43 unit hit from Klingon at 8 - 4 - -29 unit hit from Klingon at 9 - 1 - -34 unit hit from Klingon at 9 - 2 - -27 unit hit from Klingon at 6 - 8 - - -Energy left 3459 shields up 60%, torpedoes left 10 - -219 unit hit from Klingon at 3 - 4 - -60 unit hit from Klingon at 4 - 6 - -37 unit hit from Klingon at 8 - 4 - -38 unit hit from Klingon at 9 - 1 -[CONTINUE?] - - - - - - - - - - - - - - - - - - - - - - - - - -40 unit hit from Klingon at 9 - 2 - -26 unit hit from Klingon at 6 - 8 - - -Energy left 3034 shields up 43%, torpedoes left 10 - -Mc Coy- "Sickbay to bridge. We suffered 3 casualties - in that last attack." -COMMAND> torp 3 4 3 4 4 6 - -Beg your pardon, Captain? -COMMAND> to 3 34 34 4 6 - -Beg your pardon, Captain? -COMMAND> torp 3 -Target sector for torpedo number 1- 3 4 -Target sector for torpedo number 2- 3 4 -Target sector for torpedo number 3- 4 6 - -Track for torpedo number 1- 2 - 2 2 - 3 3 - 4 -***Super-commander at Sector 3 - 4 damaged-- displaced by blast to Sector 2 - 1 - -Track for torpedo number 2- 2 - 2 2 - 3 3 - 4 -4 - 5 4 - 6 -***Klingon at Sector 4 - 6 destroyed. - -Track for torpedo number 3- 2 - 2 2 - 3 3 - 4 -4 - 5 4 - 6 5 - 7 5 - 8 6 - 9 -7 - 10 -Torpedo missed. - -113 unit hit from Klingon at 2 - 1 - -30 unit hit from Klingon at 8 - 4 - -30 unit hit from Klingon at 9 - 1 - -32 unit hit from Klingon at 9 - 2 - -26 unit hit from Klingon at 6 - 8 - - -Energy left 2765 shields up 38%, torpedoes left 7 -[CONTINUE?] - - - - - - - - - - - - - - - - - - - - - - - - -COMMAND> p a - -Weapons Officer Sulu- "High-speed shield control enabled, sir." -Phasers locked on target. Energy available: 2565.27 -1085 units required. Units to fire= 1085 - -Shields lowered. - -97 unit hit on Super-commander at Sector 2 - 1 -***Super-commander at Sector 2 - 1 destroyed. -161 unit hit on Klingon at Sector 8 - 4 -***Klingon at Sector 8 - 4 destroyed. -114 unit hit on Klingon at Sector 9 - 1 -***Klingon at Sector 9 - 1 destroyed. -353 expended on empty space. - -Shields raised. - -24 unit hit from Klingon at 9 - 2 - -23 unit hit from Klingon at 6 - 8 - - -Energy left 1431 shields up 37%, torpedoes left 7 -COMMAND> torp 2 8 6 9 2 - -Track for torpedo number 1- 2 - 2 3 - 2 4 - 3 -5 - 4 -Star at Sector 5 - 4 novas. - -Track for torpedo number 2- 2 - 1 3 - 1 4 - 1 -5 - 2 6 - 2 7 - 2 8 - 2 9 - 2 -***Klingon at Sector 9 - 2 destroyed. - -17 unit hit from Klingon at 6 - 8 - - -Energy left 1414 shields up 36%, torpedoes left 5 -COMMAND> p a - -Weapons Officer Sulu- "High-speed shield control enabled, sir." -Phasers locked on target. Energy available: 1214.40 -134 units required. Units to fire= 134 - -Shields lowered. - -56 unit hit on Klingon at Sector 6 - 8 -***Klingon at Sector 6 - 8 destroyed. - -Shields raised. -COMMAND> -COMMAND> m a 7 4 10 10 - -Ensign Chekov- "Course laid in, Captain." - -Entering Quadrant 7 - 4. -COMMAND> m a 3 7 - - -[ANNOUNCEMENT ARRIVING...] - -Message from Starfleet Command Stardate 2973.97 - Supernova in Quadrant 3 - 4; caution advised. -COMMAND> d -Docked. -COMMAND> -COMMAND> rep -You were playing a short good game. -Your secret password is "acs" -11 of 15 Klingons have been killed, including 3 Commanders. -The Super Commander has been destroyed. -There are 5 bases. -No Starbase is currently under attack. -3 casualties suffered so far. -You have 2 deep space probes. - -COMMAND> -COMMAND> sh down -Shields lowered. -COMMAND> -COMMAND> m a 8 6 10 10 - -Ensign Chekov- "Course laid in, Captain." - -Entering Quadrant 8 - 6. -COMMAND> -COMMAND> sh up -Shields raised. -COMMAND> m a 8 8 10 1 - -Ensign Chekov- "Course laid in, Captain." - -Entering Quadrant 8 - 8. -COMMAND> -COMMAND> sh down -Shields lowered. -COMMAND> rep -You were playing a short good game. -Your secret password is "acs" -11 of 15 Klingons have been killed, including 3 Commanders. -The Super Commander has been destroyed. -There are 5 bases. -No Starbase is currently under attack. -3 casualties suffered so far. -You have 2 deep space probes. - -COMMAND> -COMMAND> m a 6 5 1 1 - -Ensign Chekov- "Course laid in, Captain." - -Entering Quadrant 6 - 5. -COMMAND> sh up -Shields raised. -COMMAND> -COMMAND> sh down -Shields lowered. -COMMAND> -COMMAND> m a 3 6 1 10 - -Ensign Chekov- "Course laid in, Captain." - -Entering Quadrant 3 - 6. -COMMAND> -COMMAND> sh up -Shields raised. -COMMAND> -COMMAND> m a 1 7 10 1 - -Ensign Chekov- "Course laid in, Captain." - -Entering Quadrant 1 - 7. -COMMAND> -COMMAND> m a 1 8 1 1 - -Ensign Chekov- "Course laid in, Captain." - -Entering Quadrant 1 - 8. - -Enemy attack reduces shield strength to 84%, torpedoes left 10 - -18 unit hit from Klingon at 4 - 5 - -15 unit hit from Klingon at 4 - 6 - -22 unit hit from Klingon at 1 - 7 - - -Energy left 2919 shields up 74%, torpedoes left 10 -COMMAND> p a - -Weapons Officer Sulu- "High-speed shield control enabled, sir." -Phasers locked on target. Energy available: 2382.96 -1051 units required. Units to fire= 1051 - -Shields lowered. - -158 unit hit on Klingon at Sector 4 - 5 -***Klingon at Sector 4 - 5 destroyed. -189 unit hit on Klingon at Sector 4 - 6 -***Klingon at Sector 4 - 6 destroyed. -105 unit hit on Klingon at Sector 1 - 7 -***Mr. Spock- "Captain, the vessel at Sector 1 - 7 - has just lost its firepower." -459 expended on empty space. - -Shields raised. - -11 unit hit from Klingon at 9 - 5 - - -Energy left 1320 shields up 73%, torpedoes left 10 -COMMAND> p a - -Weapons Officer Sulu- "High-speed shield control enabled, sir." -Phasers locked on target. Energy available: 1120.24 -299 units required. Units to fire= 299 - -Shields lowered. - -20 unit hit on Klingon at Sector 1 - 7 -***Klingon at Sector 1 - 7 destroyed. -180 unit hit on Klingon at Sector 9 - 5 -***Klingon at Sector 9 - 5 destroyed. - - - -It is stardate 2979.9. - -You have smashed the Klingon invasion fleet and saved -the Federation. - -LIVE LONG AND PROSPER. - - -Your score -- - 11 ordinary Klingons destroyed 110 - 3 Klingon commanders destroyed 150 -7 Klingons captured 23 - 1 Super-Commander destroyed 200 - 0.98 Klingons per stardate 491 - 1 stars destroyed by your action -5 -[CONTINUE?] - - - - - - - - - - - - - - - - - - - - - - - - - 3 casualties incurred -3 -Bonus for winning Good game 300 - -TOTAL SCORE 1266 - -May the Great Bird of the Galaxy roost upon your home planet. diff --git a/test/test08.log b/test/test08.log new file mode 100644 index 0000000..e0a70b6 --- /dev/null +++ b/test/test08.log @@ -0,0 +1,105 @@ +# seed 1691831923 +# options regular medium novice fancy +# SST2K version 2.7 +# Test game-win condition +# recorded by esr@snark.thyrsus.com on Sat Aug 12 05:18:43 2023 +chart +probe +y +n +a +1 1 +chart +m a 7 4 1 10 +chart +m a 3 1 +chart +m a 7 3 3 10 +phasers +a +326 +m a 6 10 +dock +chart +m a 1 10 +xhart +chart +m a 7 4 1 10 +chart +m a 2 9 +chart +m a 7 2 2 10 +chart +sh up +chart +m a 5 2 10 10 +chart +chart 6 2 1 10 +n a 6 2 1 10 +chart +m a 6 2 1 10 +m a 1 9 +torp 2 5 9 5 9 +phasers +a +386 +chart +probe +y +n +a +6 8 +chart +sh s +n +y +m a 1 5 +m 5 3 +chart +m a 10 10 +chart +m a 5 7 1 10 +chart +m a 7 7 1 10 +chart +chart 5 4 10 10 +chart +m a 5 4 10 10 +phasers +a +490 +torp 1 3 8 +chart +m a 1 5 +sh up +chart +m a 3 4 10 5 +chart +m a 1 1 +sh up +chart +m a 2 4 10 1 +phasers +torpedo 2 +8 5 4 9 +4 9 +torp 1 +4 9 +m a 2 10 +sh d +warp 4 +m a 2 10 +dock +chart +m a 1 1 +m a 10 2 +chart +m a 5 1 1 10 +phasers +a +532 +torp 1 2 7 +phasers +a +101 +n diff --git a/test/test08.log-old b/test/test08.log-old deleted file mode 100644 index bc2eb5d..0000000 --- a/test/test08.log-old +++ /dev/null @@ -1,122 +0,0 @@ -# seed 1556125056 -# options regular short good fancy -# SST2K version 2.4 -# Test winning end of game -# recorded by esr@snark.thyrsus.com on Wed Apr 24 12:57:36 2019 -chart -m a 7 8 -m a 7 7 -m a 1 1 -sh up -m a 5 7 10 1 -torp 1 5 3 -torp 1 5 3 -chart -sh down -m a 1 1 -m a 10 6 -torp 1 3 7 -torp 1 9 7 -chart -m a 1 8 1 1 -m a 10 1 -torp a 4 3 -torp 1 4 3 -torp 1 9 1 -chart -m a 7 3 5 5 -m a 1 3 -m a 1 4 -dock -chart -m a 5 1 10 10 -p a -641 -capture -chart -rep -chart -sh down -m a 1 10 -chart -m s 4 1 1 1 -chart -m a 4 1 10 10 -chart -m a 1 10 -chart -m a 3 1 1 10 -chart -chart -probe -y -n -a -3 8 -chart -m a 1 1 10 10 -m a 6 9 -m a 9 5 -d -chart - -sh down - -m a 2 2 10 10 - -m a 4 3 10 10 - -m a 7 2 10 1 - -rep - -m a 7 4 10 10 - -sh up - -m a 8 5 1 1 -torp 3 4 3 4 4 6 -to 3 34 34 4 6 -torp 3 -3 4 -3 4 -4 6 -p a -1085 -torp 2 8 6 9 2 -p a -134 - -m a 7 4 10 10 -m a 3 7 -d - -rep - -sh down - -m a 8 6 10 10 - -sh up -m a 8 8 10 1 - -sh down -rep - -m a 6 5 1 1 -sh up - -sh down - -m a 3 6 1 10 - -sh up - -m a 1 7 10 1 - -m a 1 8 1 1 -p a -1051 -p a -299 -n -- 2.31.1