comparison py/rlgall.py @ 63:ad103f9f2e3a

Add support for Advanced Rogue 7 and XRogue.
author John "Elwin" Edwards
date Tue, 09 Jun 2015 14:25:23 -0400
parents df7acc5653b3
children 86ae333bb4c0
comparison
equal deleted inserted replaced
62:df7acc5653b3 63:ad103f9f2e3a
529 rogue3 = RogueGame("Rogue V3", "rogue3", "r3") 529 rogue3 = RogueGame("Rogue V3", "rogue3", "r3")
530 rogue4 = RogueGame("Rogue V4", "rogue4", "r4") 530 rogue4 = RogueGame("Rogue V4", "rogue4", "r4")
531 rogue5 = RogueGame("Rogue V5", "rogue5", "r5") 531 rogue5 = RogueGame("Rogue V5", "rogue5", "r5")
532 srogue = RogueGame("Super-Rogue", "srogue", "sr") 532 srogue = RogueGame("Super-Rogue", "srogue", "sr")
533 arogue5 = ARogueGame("Advanced Rogue 5", "arogue5", "ar5") 533 arogue5 = ARogueGame("Advanced Rogue 5", "arogue5", "ar5")
534 534 arogue7 = ARogueGame("Advanced Rogue 7", "arogue7", "ar7")
535 gamelist = [rogue3, rogue4, rogue5, srogue, arogue5] 535 xrogue = ARogueGame("XRogue", "xrogue", "xr")
536
537 gamelist = [rogue3, rogue4, rogue5, srogue, arogue5, arogue7, xrogue]
536 538
537 def playerpage(pname): 539 def playerpage(pname):
538 "Generate a player's HTML page" 540 "Generate a player's HTML page"
539 # Write the beginning of the page 541 # Write the beginning of the page
540 ppagefi = open(ppagename.format(pname), "w", encoding="utf-8") 542 ppagefi = open(ppagename.format(pname), "w", encoding="utf-8")