logfp.write("# SST2K version %s\n" % version)
logfp.write("# recorded by %s@%s on %s\n" % \
(getpass.getuser(),socket.getfqdn(),time.ctime()))
+ logfp.write("#\n")
rnd.seed(seed)
scanner = sstscanner()
for arg in arguments:
Would you like a regular, tournament, or saved game? # SST2K version 2.4
# Test bringing game up, viewing galaxy, quitting
# recorded by esr@snark.thyrsus.com on Wed Apr 24 01:46:01 2019
+#
r
Would you like a Short, Medium, or Long game? s
Are you a Novice, Fair, Good, Expert, or Emeritus player? g
# SST2K version 2.4
# Test bringing game up, viewing galaxy, quitting
# recorded by esr@snark.thyrsus.com on Wed Apr 24 01:46:01 2019
+#
r
s
g
COMMAND> # SST2K version 2.4
# Test critical hit on sensors
# recorded by esr@snark.thyrsus.com on Wed Apr 24 06:29:47 2019
+#
chart
STAR CHART FOR THE KNOWN GALAXY
1 2 3 4 5 6 7 8
# SST2K version 2.4
# Test critical hit on sensors
# recorded by esr@snark.thyrsus.com on Wed Apr 24 06:29:47 2019
+#
chart
m a 3 6
m a 7 8 10 20
COMMAND> # SST2K version 2.4
# Test Tholian boxing us in followed by death by tractor beam
# recorded by esr@snark.thyrsus.com on Wed Apr 24 09:48:31 2019
+#
chart
STAR CHART FOR THE KNOWN GALAXY
1 2 3 4 5 6 7 8
# SST2K version 2.4
# Test Tholian boxing us in followed by death by tractor beam
# recorded by esr@snark.thyrsus.com on Wed Apr 24 09:48:31 2019
+#
chart
sh down
m a 3 1 1 10
COMMAND> # SST2K version 2.4
# Test starbase destruction, planet destruction, docking after destruction.
# recorded by esr@snark.thyrsus.com on Fri Aug 11 08:59:1 3 2023
+#
chart
STAR CHART FOR THE KNOWN GALAXY
1 2 3 4 5 6 7 8
# SST2K version 2.4
# Test starbase destruction, planet destruction, docking after destruction.
# recorded by esr@snark.thyrsus.com on Fri Aug 11 08:59:1 3 2023
+#
chart
m a 3 7 1 2
sh up
YOU'LL NEED IT.
COMMAND> # Test deep-space probes
# recorded by esr@snark.thyrsus.com on Wed Apr 24 11:34:04 2019
+#
chart
STAR CHART FOR THE KNOWN GALAXY
1 2 3 4 5 6 7 8
# arguments regular short good fancy
# Test deep-space probes
# recorded by esr@snark.thyrsus.com on Wed Apr 24 11:34:04 2019
+#
chart
m a 1 10
s hup
COMMAND> # SST2K version 2.4
# Test shuttle landing with no crystals
# recorded by esr@snark.thyrsus.com on Wed Apr 24 12:02:47 2019
+#
chart
STAR CHART FOR THE KNOWN GALAXY
1 2 3 4 5 6 7 8
# SST2K version 2.4
# Test shuttle landing with no crystals
# recorded by esr@snark.thyrsus.com on Wed Apr 24 12:02:47 2019
+#
chart
p a
148
COMMAND> # SST2K version 2.7
# Test supercommander destruction.
# recorded by esr@snark.thyrsus.com on Fri Aug 11 17:23:51 2023
+#
sh up
Shields already up.
COMMAND> phasers
# SST2K version 2.7
# Test supercommander destruction.
# recorded by esr@snark.thyrsus.com on Fri Aug 11 17:23:51 2023
+#
sh up
phasers
a
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
# 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
COMMAND> # SST2K version 2.7
# Test behavior of Tholian
# recorded by esr@snark.thyrsus.com on Fri Aug 11 14:51:27 2023
+#
srscan
Short-range scan
1 2 3 4 5 6 7 8 9 10
# SST2K version 2.7
# Test behavior of Tholian
# recorded by esr@snark.thyrsus.com on Fri Aug 11 14:51:27 2023
+#
srscan
m a 1 10
# Observe that the Tolian doesn't spin a web..
COMMAND> # SST2K version 2.7
# Test game timeout condition
# recorded by esr@snark.thyrsus.com on Sat Aug 12 05:58:57 2023
+#
rest
How long? 16
Are you sure? y
# SST2K version 2.7
# Test game timeout condition
# recorded by esr@snark.thyrsus.com on Sat Aug 12 05:58:57 2023
+#
rest
16
y
COMMAND> # SST2K version 2.5
# Test loss by energy exhaustion.
# recorded by esr@snark.thyrsus.com on Thu Apr 25 13:21:59 2019
+#
+m a 1 4
-COMMAND> m a 1 4
-
-COMMAND>
COMMAND> sh up
Shields raised.
COMMAND> m a 5 6 10 5
47 Klingons commit suicide rather than be taken captive.
152 captives taken
***Klingon at Sector j5 destroyed.
-COMMAND>
-COMMAND>
COMMAND> sh down
Shields lowered.
COMMAND> m a 10 8
Supernova in Quadrant e4; caution advised.
COMMAND> sh up
Shields raised.
-COMMAND>
COMMAND> m a 4 6 10 8
Ensign Chekov- "Course laid in, Captain."
***Klingon at Sector b2 destroyed.
Shields raised.
-COMMAND>
COMMAND> m a 8 1
Message from Starfleet Command Stardate 2737.64
Supernova in Quadrant c6; caution advised.
-COMMAND>
COMMAND> m a 3 5 10 10
Ensign Chekov- "Course laid in, Captain."
***Enterprise caught in long range tractor beam--
Enterprise is pulled to Quadrant e6, Sector e1
-COMMAND>
-COMMAND>
COMMAND> m a 3 5 10 10
Ensign Chekov- "Course laid in, Captain."
# SST2K version 2.5
# Test loss by energy exhaustion.
# recorded by esr@snark.thyrsus.com on Thu Apr 25 13:21:59 2019
-
+#
m a 1 4
-
sh up
m a 5 6 10 5
p a
1310
capture
-
-
sh down
m a 10 8
m a 1 8
sh up
-
m a 4 6 10 8
torp 3 9 10 1 8 1 7
p a
296
p a
73
-
m a 8 1
-
m a 3 5 10 10
-
-
m a 3 5 10 10
sh down
m a 3 5 10 10
-
n
COMMAND> # SST2K version 2.7
# Test dilithium mining
# recorded by esr@snark.thyrsus.com on Fri Aug 11 14:30:15 2023
+#
status
Stardate 3135.8, Time Left 14.00
Condition GREEN, 0 DAMAGES
# SST2K version 2.7
# Test dilithium mining
# recorded by esr@snark.thyrsus.com on Fri Aug 11 14:30:15 2023
+#
status
sensors
m a 3 10
COMMAND> # SST2K version 2.5
# Test multiple critical hits ending in defeat by Supercommander
# recorded by esr@snark.thyrsus.com on Fri Apr 26 11:21:47 2019
+#
torp 3 7 4 8 4 9 2
Track for torpedo number 1- g4
Energy left 4961 shields up 76%, torpedoes left 7
-COMMAND>
COMMAND> torp 3 6 6 8 10 10 8
Track for torpedo number 1- g4 f5 f6
Energy left 4890 shields up 69%, torpedoes left 4
-COMMAND>
COMMAND> p a
Weapons Officer Sulu- "High-speed shield control enabled, sir."
***Commander at Sector d9 destroyed.
Shields raised.
-COMMAND>
COMMAND> sh down
Shields lowered.
COMMAND> m a 7 7
Torpedo track- i6 h5 g4
***Commander at Sector g4 destroyed.
-COMMAND>
COMMAND> rep
You were playing a short good game.
Your secret password is "fgy"
No Starbase is currently under attack.
You have 4 deep space probes.
-COMMAND>
COMMAND> m a 5 2 1 1
Ensign Chekov- "Course laid in, Captain."
Entering Quadrant e2.
Uhura- Captain, Medusa in Quadrant f2 reports it is under attack
by a Klingon invasion fleet.
-COMMAND>
COMMAND> sh down
Shields lowered.
COMMAND> m a 10 5
by the Super-commander."
COMMAND> sh up
Shields raised.
-COMMAND>
COMMAND> m a 6 2 1 5
Ensign Chekov- "Course laid in, Captain."
# SST2K version 2.5
# Test multiple critical hits ending in defeat by Supercommander
# recorded by esr@snark.thyrsus.com on Fri Apr 26 11:21:47 2019
+#
torp 3 7 4 8 4 9 2
-
torp 3 6 6 8 10 10 8
-
p a
754
-
sh down
m a 7 7
m a 1 7
sh up
m a 1 2 10 7
torp 1 7 4
-
rep
-
m a 5 2 1 1
-
sh down
m a 10 5
sh up
-
m a 6 2 1 5
torp 1 3 7
p a
Would you like a regular, tournament, or saved game? # SST2K version 2.7
# Test death by black hole
# recorded by esr@snark.thyrsus.com on Fri Aug 11 10:49:27 2023
+#
r
Would you like a Short, Medium, or Long game? s
Are you a Novice, Fair, Good, Expert, or Emeritus player? n
# SST2K version 2.7
# Test death by black hole
# recorded by esr@snark.thyrsus.com on Fri Aug 11 10:49:27 2023
+#
r
s
n
COMMAND> # SST2K version 2.7
# Test encounter with Romulan and multiline torpedo firing
# recorded by esr@snark.thyrsus.com on Fri Aug 11 11:05:56 2023
+#
m a 5 9
# SST2K version 2.7
# Test encounter with Romulan and multiline torpedo firing
# recorded by esr@snark.thyrsus.com on Fri Aug 11 11:05:56 2023
+#
m a 5 9
m a 4 3
torp
COMMAND> # SST2K version 2.7
# Test malformed torpedo command
# recorded by esr@snark.thyrsus.com on Fri Aug 11 11:54:11 2023
+#
torp 1 3
Beg your pardon, Captain?
# SST2K version 2.7
# Test malformed torpedo command
# recorded by esr@snark.thyrsus.com on Fri Aug 11 11:54:11 2023
+#
torp 1 3
quit
n
COMMAND> # SST2K version 2.7
# Test commander destruction and supernova alert
# recorded by esr@snark.thyrsus.com on Fri Aug 11 13:31:26 2023
+#
m 6 4
(Manual movement assumed.)
# SST2K version 2.7
# Test commander destruction and supernova alert
# recorded by esr@snark.thyrsus.com on Fri Aug 11 13:31:26 2023
+#
m 6 4
m a 1 9
srscan
COMMAND> # SST2K version 2.7
# Test behavior when emy is buffered into black hole
# recorded by esr@snark.thyrsus.com on Fri Aug 11 16:43:02 2023
+#
chart
STAR CHART FOR THE KNOWN GALAXY
1 2 3 4 5 6 7 8
# SST2K version 2.7
# Test behavior when emy is buffered into black hole
# recorded by esr@snark.thyrsus.com on Fri Aug 11 16:43:02 2023
+#
chart
probe
y
Please type in a secret password- # SST2K version 2.7
# Test plain interface and old-fashioned coordinates
# recorded by esr@snark.thyrsus.com on Tue Aug 15 04:36:52 2023
+#
foo
# SST2K version 2.7
# Test plain interface and old-fashioned coordinates
# recorded by esr@snark.thyrsus.com on Tue Aug 15 04:36:52 2023
+#
foo
chart
m 3 7 1 5
COMMAND> # SST2K version 2.7
# Test self-destruct
# recorded by esr@snark.thyrsus.com on Tue Aug 15 05:53:14 2023
+#
destruct
---WORKING---
SELF-DESTRUCT-SEQUENCE-ACTIVATED
# SST2K version 2.7
# Test self-destruct
# recorded by esr@snark.thyrsus.com on Tue Aug 15 05:53:14 2023
+#
destruct
rep
COMMAND> # SST2K version 2.7
# Test edge and failure cases in coordinate parsing
# recorded by esr@snark.thyrsus.com on Tue Aug 15 06:05:57 2023
+#
sr
Short-range scan
1 2 3 4 5 6 7 8 9 10
# SST2K version 2.7
# Test edge and failure cases in coordinate parsing
# recorded by esr@snark.thyrsus.com on Tue Aug 15 06:05:57 2023
+#
sr
m a a 3
m a a3
COMMAND> # SST2K version 2.7
# Test torpedoing uninhabited planet
# recorded by esr@snark.thyrsus.com on Wed Aug 16 05:18:31 2023
+#
m a i9
COMMAND> torpedo 1 i5
# SST2K version 2.7
# Test torpedoing uninhabited planet
# recorded by esr@snark.thyrsus.com on Wed Aug 16 05:18:31 2023
+#
m a i9
torpedo 1 i5
quit
COMMAND> # SST2K version 2.7
# Test torpedoing inhabited planet and starbase
# recorded by esr@snark.thyrsus.com on Wed Aug 16 05:21:16 2023
+#
m a c0
Beg your pardon, Captain?
# SST2K version 2.7
# Test torpedoing inhabited planet and starbase
# recorded by esr@snark.thyrsus.com on Wed Aug 16 05:21:16 2023
+#
m a c0
m a c9
torpedo 1 c 2
COMMAND> # SST2K version 2.7
# Test cloaking device with no enemies present
# recorded by esr@snark.thyrsus.com on Wed Aug 16 05:24:35 2023
+#
cloak
Switch cloaking device on? y
Spock- "Captain, using the cloaking device is a violation
# SST2K version 2.7
# Test cloaking device with no enemies present
# recorded by esr@snark.thyrsus.com on Wed Aug 16 05:24:35 2023
+#
cloak
y
y
COMMAND> # SST2K version 2.7
# Test death ray (successful)
# recorded by esr@snark.thyrsus.com on Thu Aug 17 05:19:31 2023
+#
deathray
Spock- "Captain, the 'Experimental Death Ray'
# SST2K version 2.7
# Test death ray (successful)
# recorded by esr@snark.thyrsus.com on Thu Aug 17 05:19:31 2023
+#
deathray
y
quit
COMMAND> # SST2K version 2.7
# Test damage-report command (no damage)
# recorded by esr@snark.thyrsus.com on Wed Aug 16 05:29:51 2023
+#
damage
All devices functional.
COMMAND> quit
# SST2K version 2.7
# Test damage-report command (no damage)
# recorded by esr@snark.thyrsus.com on Wed Aug 16 05:29:51 2023
+#
damage
quit
COMMAND> # SST2K version 2.7
# Test simple collision and damage treport.
# recorded by esr@snark.thyrsus.com on Wed Aug 16 05:35:40 2023
+#
m a j7
***RED ALERT! RED ALERT!
# SST2K version 2.7
# Test simple collision and damage treport.
# recorded by esr@snark.thyrsus.com on Wed Aug 16 05:35:40 2023
+#
m a j7
quit
COMMAND> # SST2K version 2.7
# Test encounter with Space Thingy and torperdoing it
# recorded by esr@snark.thyrsus.com on Wed Aug 16 08:28:50 2023
+#
m a e8
COMMAND> m a a1
# SST2K version 2.7
# Test encounter with Space Thingy and torperdoing it
# recorded by esr@snark.thyrsus.com on Wed Aug 16 08:28:50 2023
+#
m a e8
m a a1
m a c2 j10
COMMAND> # SST2K version 2.7
# Test capture - trdsuccessful
# recorded by esr@snark.thyrsus.com on Wed Aug 16 14:33:01 2023
+#
phasers
Weapons Officer Sulu- "High-speed shield control enabled, sir."
# SST2K version 2.7
# Test capture - trdsuccessful
# recorded by esr@snark.thyrsus.com on Wed Aug 16 14:33:01 2023
+#
phasers
a
1657
COMMAND> # SST2K version 2.7
# Test death ray - failure (kaboom)
# recorded by esr@snark.thyrsus.com on Wed Aug 16 15:02:57 2023
+#
chart
STAR CHART FOR THE KNOWN GALAXY
1 2 3 4 5 6 7 8
# SST2K version 2.7
# Test death ray - failure (kaboom)
# recorded by esr@snark.thyrsus.com on Wed Aug 16 15:02:57 2023
+#
chart
m a d10
sh up
COMMAND> # SST2K version 2.7
# Test death ray - fail (mutation)
# recorded by esr@snark.thyrsus.com on Thu Aug 17 05:15:09 2023
+#
deathray
Spock- "Captain, the 'Experimental Death Ray'
# SST2K version 2.7
# Test death ray - fail (mutation)
# recorded by esr@snark.thyrsus.com on Thu Aug 17 05:15:09 2023
+#
deathray
y