diff --git a/py/stats2.py b/py/stats2.py index 295bf68..1e2fab4 100755 --- a/py/stats2.py +++ b/py/stats2.py @@ -81,15 +81,19 @@ for game in rlgall.gamelist: scoreblocks = range(10) xlcounts = [] scorecounts = [] + if isinstance(game, rlgall.ARogueGame): + scorewidth = 1500 + else: + scorewidth = 1000 for xl in xls: cur.execute(xlq, [xl]) xlcounts.append(cur.fetchone()[0]) for sn in scoreblocks: - lscore = sn * 1000 + lscore = sn * scorewidth if sn == 9: - hscore = 32000 + hscore = scorewidth * 32 else: - hscore = (sn + 1) * 1000 + hscore = (sn + 1) * scorewidth cur.execute(scrq, (lscore, hscore)) scorecounts.append(cur.fetchone()[0]) xlgraph = open("{0}/xl-{1}.svg".format(svgpath, game.uname), "w") @@ -121,7 +125,7 @@ for game in rlgall.gamelist: barh = round(scale * count) bary = 550 - barh scoregraph.write(barstr.format(75, barh, barx, bary)) - scoregraph.write(xllabel.format(barx, block * 1000)) + scoregraph.write(xllabel.format(barx, block * scorewidth)) for yl in range(scoredivs + 1): labeln = int(scoremax * yl / scoredivs) labelh = 550 + 8 - 500 * yl / scoredivs diff --git a/web/index.html b/web/index.html index 970bf2b..867af3b 100644 --- a/web/index.html +++ b/web/index.html @@ -26,15 +26,11 @@ of historical roguelikes is being restored and made available for play on this s
Jan. 10, 2014: Statistical charts have been added to the scores section.
Oct. 5, 2013: All the games have been updated to fix various bugs. Super-Rogue now supports arrow keys. Games can be downloaded.
Sep. 15, 2012: Advanced Rogue 5 is available to play, in time for the Annual Roguelike Release Party. The Web app has been updated too.
Aug. 19, 2012: The upgrade is complete, games are back online. Watch for more changes.
Jul. 27, 2012: The latency problems with the Web player should be resolved now.
-Jun. 30, 2012: I've fixed a bug that prevented new accounts from being created.
-Jun. 27, 2012: A tournament is being planned!
-Jun. 24, 2012: It is now possible to play in your browser, without needing any other software.
-Feb. 2, 2012: Everything should be recovered from the failed upgrade. Please report any problems.
-Feb. 4, 2011: Some updates to the website. The ttyrec finder is now usable.