game.thawed = False
game.skill = SKILL_NONE
gametype = None
- mode = None
- while gametype is None or game.length == 0 or game.skill == SKILL_NONE or mode is None:
+ wayback = 0
+ while gametype is None or game.length == 0 or game.skill == SKILL_NONE or wayback == 0:
eol_is_fancy = False
if not scanner.inqueue or scanner.token == "IHEOL": # Can start with command line options
if gametype is None:
proutn(_("Would you like a Short, Medium, or Long game? "))
elif game.skill == SKILL_NONE:
proutn(_("Are you a Novice, Fair, Good, Expert, or Emeritus player? "))
- elif mode is None:
- proutn(_("Choose your game style (plain, almy, fancy or just press enter): "))
+ elif wayback == 0:
+ proutn(_("Wayback setting (press enter for current year): "))
eol_is_fancy = True
scanner.nexttok()
if game.idebug:
game.skill = SKILL_EXPERT
elif scanner.token.startswith("em"): # emeritus
game.skill = SKILL_EMERITUS
- elif scanner.token.startswith("p"): # plain
- # Approximates the UT FORTRAN version.
- game.options &=~ (OPTION_THOLIAN | OPTION_PLANETS | OPTION_PROBE | OPTION_RAMMING | OPTION_MVBADDY | OPTION_BLKHOLE | OPTION_BASE | OPTION_WORLDS | OPTION_COLOR | OPTION_CAPTURE | OPTION_CLOAK | OPTION_ALMY | OPTION_AUTOPASS | OPTION_DOTFILL | OPTION_ALPHAMERIC)
- mode = "plain"
- elif scanner.token.startswith("almy"): # almy
- # Approximates Tom Almy's version.
- mode = "almy"
- game.options &=~ (OPTION_BLKHOLE | OPTION_BASE | OPTION_WORLDS | OPTION_COLOR | OPTION_DOTFILL | OPTION_ALPHAMERIC)
- elif scanner.token.startswith("f"): # fancy
- mode = "fancy"
+ elif scanner.type == "IHREAL":
+ wayback = scanner.int()
+ if wayback <= 1973:
+ # Approximates the UT FORTRAN version.
+ game.options &=~ (OPTION_THOLIAN | OPTION_PLANETS | OPTION_PROBE | OPTION_RAMMING | OPTION_MVBADDY | OPTION_BLKHOLE | OPTION_BASE | OPTION_WORLDS | OPTION_COLOR | OPTION_CAPTURE | OPTION_CLOAK | OPTION_ALMY | OPTION_AUTOPASS | OPTION_DOTFILL | OPTION_ALPHAMERIC)
+ elif scanner.int() < 1980:
+ # Approximates Tom Almy's 1979 version.
+ game.options &=~ (OPTION_BLKHOLE | OPTION_BASE | OPTION_WORLDS | OPTION_COLOR | OPTION_DOTFILL | OPTION_ALPHAMERIC)
elif (eol_is_fancy and scanner.token.startswith("\n")):
- mode = "fancy"
+ wayback = time.localtime().tm_year
elif scanner.token.startswith("\n"):
continue
elif scanner.token.startswith("idebug"):
game.idebug = True
prout("=== Debug mode enabled.")
if game.idebug:
- prout("--- Setup: type=%s length=%s skill=%s mode=%s" % (gametype, game.length, game.skill, mode))
+ prout("--- Setup: type=%s length=%s skill=%s wayback=%s" % (gametype, game.length, game.skill, wayback))
# Use parameters to generate initial values of things
game.damfac = 0.5 * game.skill
game.inbase = rnd.integer(BASEMIN, BASEMAX+1)
Would you like a regular, tournament, or saved game? r
Would you like a Short, Medium, or Long game? s
Are you a Novice, Fair, Good, Expert, or Emeritus player? g
-Choose your game style (plain, almy, fancy or just press enter): f
+Wayback setting (press enter for current year): 2023
Stardate 3188.
r
s
g
-f
+2023
chart
quit
-n
# seed 1556101787
-# arguments regular short good fancy
+# arguments regular short good 2023
# SST2K version 2.4
# Test critical hit on sensors
# recorded by esr@snark.thyrsus.com on Wed Apr 24 06:29:47 2019
# seed 1556101787
-# arguments regular short good fancy
+# arguments regular short good 2023
# SST2K version 2.4
# Test critical hit on sensors
# recorded by esr@snark.thyrsus.com on Wed Apr 24 06:29:47 2019
# seed 1556102474
-# arguments regular short good fancy
+# arguments regular short good 2023
# 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
# seed 1556102474
-# arguments regular short good fancy
+# arguments regular short good 2023
# 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
# seed 1556116333
-# arguments regular short good fancy
+# arguments regular short good 2023
# 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
# seed 1556116333
-# arguments regular short good fancy
+# arguments regular short good 2023
# 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
# seed 1556120044
-# arguments regular short good fancy
+# arguments regular short good 2023
# Test deep-space probes
# recorded by esr@snark.thyrsus.com on Wed Apr 24 11:34:04 2019
#
# seed 1556120044
-# arguments regular short good fancy
+# arguments regular short good 2023
# Test deep-space probes
# recorded by esr@snark.thyrsus.com on Wed Apr 24 11:34:04 2019
#
# seed 1556121767
-# arguments regular short good fancy
+# arguments regular short good 2023
# SST2K version 2.4
# Test shuttle landing with no crystals
# recorded by esr@snark.thyrsus.com on Wed Apr 24 12:02:47 2019
# seed 1556121767
-# arguments regular short good fancy
+# arguments regular short good 2023
# SST2K version 2.4
# Test shuttle landing with no crystals
# recorded by esr@snark.thyrsus.com on Wed Apr 24 12:02:47 2019
# seed 1691789031
-# arguments regular medium good fancy
+# arguments regular medium good 2023
# SST2K version 2.7
# Test supercommander destruction.
# recorded by esr@snark.thyrsus.com on Fri Aug 11 17:23:51 2023
# seed 1691789031
-# arguments regular medium good fancy
+# arguments regular medium good 2023
# SST2K version 2.7
# Test supercommander destruction.
# recorded by esr@snark.thyrsus.com on Fri Aug 11 17:23:51 2023
# seed 1691831923
-# arguments regular medium novice fancy
+# arguments regular medium novice 2023
# SST2K version 2.7
# Test game-win condition
# recorded by esr@snark.thyrsus.com on Sat Aug 12 05:18:43 2023
# seed 1691831923
-# arguments regular medium novice fancy
+# arguments regular medium novice 2023
# SST2K version 2.7
# Test game-win condition
# recorded by esr@snark.thyrsus.com on Sat Aug 12 05:18:43 2023
# seed 1691779887
-# arguments regular medium good fancy
+# arguments regular medium good 2023
# SST2K version 2.7
# Test behavior of Tholian
# recorded by esr@snark.thyrsus.com on Fri Aug 11 14:51:27 2023
# seed 1691779887
-# arguments regular medium good fancy
+# arguments regular medium good 2023
# SST2K version 2.7
# Test behavior of Tholian
# recorded by esr@snark.thyrsus.com on Fri Aug 11 14:51:27 2023
# seed 1691834337
-# arguments regular medium novice fancy
+# arguments regular medium novice 2023
# SST2K version 2.7
# Test game timeout condition
# recorded by esr@snark.thyrsus.com on Sat Aug 12 05:58:57 2023
# seed 1691834337
-# arguments regular medium novice fancy
+# arguments regular medium novice 2023
# SST2K version 2.7
# Test game timeout condition
# recorded by esr@snark.thyrsus.com on Sat Aug 12 05:58:57 2023
# seed 1556212919
-# arguments regular short good fancy
+# arguments regular short good 2023
# SST2K version 2.5
# Test loss by energy exhaustion.
# recorded by esr@snark.thyrsus.com on Thu Apr 25 13:21:59 2019
# seed 1556212919
-# arguments regular short good fancy
+# arguments regular short good 2023
# SST2K version 2.5
# Test loss by energy exhaustion.
# recorded by esr@snark.thyrsus.com on Thu Apr 25 13:21:59 2019
# seed 1691778615
-# arguments regular medium good fancy
+# arguments regular medium good 2023
# SST2K version 2.7
# Test dilithium mining
# recorded by esr@snark.thyrsus.com on Fri Aug 11 14:30:15 2023
# seed 1691778615
-# arguments regular medium good fancy
+# arguments regular medium good 2023
# SST2K version 2.7
# Test dilithium mining
# recorded by esr@snark.thyrsus.com on Fri Aug 11 14:30:15 2023
# seed 1556292107
-# arguments regular short good fancy
+# arguments regular short good 2023
# 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
# seed 1556292107
-# arguments regular short good fancy
+# arguments regular short good 2023
# 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
Would you like a regular, tournament, or saved game? r
Would you like a Short, Medium, or Long game? s
Are you a Novice, Fair, Good, Expert, or Emeritus player? n
-Choose your game style (plain, almy, fancy or just press enter): fancy
+Wayback setting (press enter for current year): 2023
It is stardate 3221. The Federation is being attacked by
r
s
n
-fancy
+2023
lrscan
srscan
move
# seed 1691766356
-# arguments regular medium good fancy
+# arguments regular medium good 2023
# 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
# seed 1691766356
-# arguments regular medium good fancy
+# arguments regular medium good 2023
# 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
# seed 1691769251
-# arguments regular medium good fancy
+# arguments regular medium good 2023
# SST2K version 2.7
# Test malformed torpedo command
# recorded by esr@snark.thyrsus.com on Fri Aug 11 11:54:11 2023
# seed 1691769251
-# arguments regular medium good fancy
+# arguments regular medium good 2023
# SST2K version 2.7
# Test malformed torpedo command
# recorded by esr@snark.thyrsus.com on Fri Aug 11 11:54:11 2023
# seed 1691774489
-# arguments regular medium good fancy
+# arguments regular medium good 2023
# SST2K version 2.7
# Test commander destruction and supernova alert
# recorded by esr@snark.thyrsus.com on Fri Aug 11 13:31:26 2023
# seed 1691774489
-# arguments regular medium good fancy
+# arguments regular medium good 2023
# SST2K version 2.7
# Test commander destruction and supernova alert
# recorded by esr@snark.thyrsus.com on Fri Aug 11 13:31:26 2023
# seed 1691786582
-# arguments regular medium good fancy
+# arguments regular medium good 2023
# 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
# seed 1691786582
-# arguments regular medium good fancy
+# arguments regular medium good 2023
# 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
# seed 1692088612
-# arguments regular medium novice plain
+# arguments regular medium novice 1973
# SST2K version 2.7
-# Test plain interface and old-fashioned coordinates
+# Test 1973 interface and old-fashioned coordinates
# recorded by esr@snark.thyrsus.com on Tue Aug 15 04:36:52 2023
#
# seed 1692088612
-# arguments regular medium novice plain
+# arguments regular medium novice 1973
# SST2K version 2.7
-# Test plain interface and old-fashioned coordinates
+# Test 1973 interface and old-fashioned coordinates
# recorded by esr@snark.thyrsus.com on Tue Aug 15 04:36:52 2023
#
foo
# seed 1692093194
-# arguments regular medium novice fancy
+# arguments regular medium novice 2023
# SST2K version 2.7
# Test self-destruct
# recorded by esr@snark.thyrsus.com on Tue Aug 15 05:53:14 2023
# seed 1692093194
-# arguments regular medium novice fancy
+# arguments regular medium novice 2023
# SST2K version 2.7
# Test self-destruct
# recorded by esr@snark.thyrsus.com on Tue Aug 15 05:53:14 2023
# seed 1692093957
-# arguments regular medium novice fancy
+# arguments regular medium novice 2023
# 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
# seed 1692093957
-# arguments regular medium novice fancy
+# arguments regular medium novice 2023
# 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
# seed 1692177511
-# arguments regular medium novice fancy
+# arguments regular medium novice 2023
# SST2K version 2.7
# Test torpedoing uninhabited planet
# recorded by esr@snark.thyrsus.com on Wed Aug 16 05:18:31 2023
# seed 1692177511
-# arguments regular medium novice fancy
+# arguments regular medium novice 2023
# SST2K version 2.7
# Test torpedoing uninhabited planet
# recorded by esr@snark.thyrsus.com on Wed Aug 16 05:18:31 2023
# seed 1692177676
-# arguments regular medium novice fancy
+# arguments regular medium novice 2023
# SST2K version 2.7
# Test torpedoing inhabited planet and starbase
# recorded by esr@snark.thyrsus.com on Wed Aug 16 05:21:16 2023
# seed 1692177676
-# arguments regular medium novice fancy
+# arguments regular medium novice 2023
# SST2K version 2.7
# Test torpedoing inhabited planet and starbase
# recorded by esr@snark.thyrsus.com on Wed Aug 16 05:21:16 2023
# seed 1692177875
-# arguments regular medium novice fancy
+# arguments regular medium novice 2023
# 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
# seed 1692177875
-# arguments regular medium novice fancy
+# arguments regular medium novice 2023
# 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
# seed 1692263971
-# arguments regular medium expert fancy
+# arguments regular medium expert 2023
# SST2K version 2.7
# Test death ray (successful)
# recorded by esr@snark.thyrsus.com on Thu Aug 17 05:19:31 2023
# seed 1692263971
-# arguments regular medium expert fancy
+# arguments regular medium expert 2023
# SST2K version 2.7
# Test death ray (successful)
# recorded by esr@snark.thyrsus.com on Thu Aug 17 05:19:31 2023
# seed 1692178191
-# arguments regular medium novice fancy
+# arguments regular medium novice 2023
# SST2K version 2.7
# Test damage-report command (no damage)
# recorded by esr@snark.thyrsus.com on Wed Aug 16 05:29:51 2023
# seed 1692178191
-# arguments regular medium novice fancy
+# arguments regular medium novice 2023
# SST2K version 2.7
# Test damage-report command (no damage)
# recorded by esr@snark.thyrsus.com on Wed Aug 16 05:29:51 2023
# seed 1692178540
-# arguments regular medium novice fancy
+# arguments regular medium novice 2023
# SST2K version 2.7
# Test simple collision and damage treport.
# recorded by esr@snark.thyrsus.com on Wed Aug 16 05:35:40 2023
# seed 1692178540
-# arguments regular medium novice fancy
+# arguments regular medium novice 2023
# SST2K version 2.7
# Test simple collision and damage treport.
# recorded by esr@snark.thyrsus.com on Wed Aug 16 05:35:40 2023
# seed 1692187822
-# arguments regular medium novice fancy
+# arguments regular medium novice 2023
# 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
# seed 1692187822
-# arguments regular medium novice fancy
+# arguments regular medium novice 2023
# 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
# seed 1692210781
-# arguments regular medium expert fancy
+# arguments regular medium expert 2023
# SST2K version 2.7
# Test capture - trdsuccessful
# recorded by esr@snark.thyrsus.com on Wed Aug 16 14:33:01 2023
# seed 1692210781
-# arguments regular medium expert fancy
+# arguments regular medium expert 2023
# SST2K version 2.7
# Test capture - trdsuccessful
# recorded by esr@snark.thyrsus.com on Wed Aug 16 14:33:01 2023
# seed 1692212577
-# arguments regular medium expert fancy
+# arguments regular medium expert 2023
# SST2K version 2.7
# Test death ray - failure (kaboom)
# recorded by esr@snark.thyrsus.com on Wed Aug 16 15:02:57 2023
# seed 1692212577
-# arguments regular medium expert fancy
+# arguments regular medium expert 2023
# SST2K version 2.7
# Test death ray - failure (kaboom)
# recorded by esr@snark.thyrsus.com on Wed Aug 16 15:02:57 2023
# seed 1692263709
-# arguments regular medium expert fancy
+# arguments regular medium expert 2023
# SST2K version 2.7
# Test death ray - fail (mutation)
# recorded by esr@snark.thyrsus.com on Thu Aug 17 05:15:09 2023
# seed 1692263709
-# arguments regular medium expert fancy
+# arguments regular medium expert 2023
# SST2K version 2.7
# Test death ray - fail (mutation)
# recorded by esr@snark.thyrsus.com on Thu Aug 17 05:15:09 2023