John "Elwin" Edwards
2eb8cef1c9
rlgall.py: add time selection to Game.getHigh().
...
Optional inittime and finaltime parameters set the range of time over
which to calculate high scores.
2014-03-28 09:33:49 -07:00
John "Elwin" Edwards
d67561aa42
Escape the player's name when printing it into HTML.
...
Non-alphanumeric characters in names may eventually be possible.
2014-03-24 16:01:28 -07:00
John "Elwin" Edwards
3d7abba670
dgl: allow names up to 20 characters long.
...
It may actually be able to handle 30.
2014-03-24 09:43:28 -07:00
John "Elwin" Edwards
c0023af02c
Mention dependencies in README.txt.
2014-03-08 14:36:11 -08:00
John "Elwin" Edwards
b2a8cfeae0
Mention stats2.py in the README.
2014-01-25 13:44:44 -08:00
John "Elwin" Edwards
479c173caf
SVG charts: separate database-querying and chart-printing code.
...
Create Game methods in rlgall.py to get histogram data for score, xl,
maxdepth. In stats2.py, make the chart-printing functions use this
data and avoid running hard-coded queries.
2014-01-16 16:25:09 -08:00
John "Elwin" Edwards
bc4dda7e9e
Rearrange the statistics pages.
...
Move each game's charts onto individual pages. Put links to these
pages on /scoring/index.html, instead of dumping all the charts there.
2014-01-16 11:04:45 -08:00
John "Elwin" Edwards
766f3777b3
stats2.py: make graphs of maxdepth.
2014-01-16 10:07:49 -08:00
John "Elwin" Edwards
48c1b168bc
Add depth and maxdepth columns to the RogueGame tables.
2014-01-11 10:45:33 -05:00
John "Elwin" Edwards
291d5d4ffc
rlgall.py: delete a few lines that got moved elsewhere
2014-01-10 17:01:11 -05:00
John "Elwin" Edwards
97cadd5e78
SVG charts: reduce frame stroke width.
...
If the frame stroke is too wide, bars of height 1 aren't visible.
2014-01-10 12:00:37 -05:00
John "Elwin" Edwards
8516530580
stats2.py: adjust x-axis scale for arogue5 score chart.
...
The range of scores is higher.
2014-01-10 09:03:16 -05:00
John "Elwin" Edwards
be7dba5b6c
Add a new statistics script that creates SVG plots.
2014-01-10 07:15:39 -05:00
John "Elwin" Edwards
1ab746907b
py/stats.py: only print 3 decimal places.
2014-01-07 21:57:33 -05:00
John "Elwin" Edwards
dfd8098844
Remove the static high score page.
...
Don't create it, change all links, and redirect any requests.
2014-01-03 13:02:29 -05:00
John "Elwin" Edwards
d34e211a3f
Add a high score CGI script.
...
/scoring/high.cgi shows a score list, with a configurable length,
offset, and game list.
2014-01-03 11:11:07 -05:00
John "Elwin" Edwards
41eab38a58
Add a footer with some links to the Web pages.
2014-01-02 13:58:05 -05:00
John "Elwin" Edwards
f272772dcb
Change the Python module's name back to rlgall.
...
It is no longer an experimental variant. Using a database as a backend
is a settled feature.
2014-01-02 13:09:48 -05:00
John "Elwin" Edwards
b9081d194b
Add the favicon.
...
It belongs with the static files.
2014-01-02 11:48:15 -05:00
John "Elwin" Edwards
31174f58ee
Right-align the numeric columns.
...
The Game.printTable() method now right-aligns the name, rank, and score
columns, by giving their cells a different CSS class.
2014-01-02 11:39:57 -05:00
John "Elwin" Edwards
aef04a38e1
Port to Python 3.
...
All scripts and modules have been ported to Python 3 and appear to
work. Some changes to the lighttpd configuration were needed.
2013-12-31 13:36:19 -05:00
John "Elwin" Edwards
914f367657
Add the Web pages from the 2012 tournament.
2013-10-31 14:33:50 -07:00
John "Elwin" Edwards
27459bc047
dgl config: don't set the cursor position.
...
dgamelaunch is smart enough to figure it out on its own.
2013-10-30 21:18:25 -07:00
John "Elwin" Edwards
a79fb7a62a
Move the game binaries to /usr/bin.
...
The new Fedora setup might heretically leave /bin out of the path.
2013-10-28 22:09:52 -07:00
John "Elwin" Edwards
ef9807cdc6
Add lighttpd configuration files.
2013-10-28 20:33:23 -07:00
John "Elwin" Edwards
89083f037f
Move the inprogress dirs into a single directory.
...
The inprogress dirs are now at /dgldir/inprogress/$GAME instead of
/dgldir/inprogress-$GAME. This is less cluttered and may be more
convenient for watching.
2013-10-20 19:05:58 -07:00
John "Elwin" Edwards
1fe7f59f8b
Switch to the Git version of dgamelaunch.
2013-10-20 17:45:38 -07:00
John "Elwin" Edwards
2e74e18c6a
Add README, put some new links on several pages.
2013-10-05 17:10:24 -07:00
John "Elwin" Edwards
c74f9cb333
Add a downloads page, and update some links.
2013-09-10 15:23:13 -04:00
John "Elwin" Edwards
dc45fbe25e
Add tablerecent() so recent.cgi will work as before.
...
Port the tablerecent() function, which reads the most recent games
directly from the logfile instead of the database. This allows
recent.cgi to show games immediately without waiting for the recorder
to put them in the database.
2012-09-17 13:41:10 -07:00
John "Elwin" Edwards
3f54b7a87d
Make arogue5 scores appear on the player pages too.
...
This could probably be done in a more structured way.
2012-09-17 11:41:11 -07:00
John "Elwin" Edwards
44d2b92159
Add high score list support for arogue5.
2012-09-17 10:24:38 -07:00
John "Elwin" Edwards
30bdbebf0b
Store arogue5 results in the database.
...
The ARogueGame class is functional enough to put game results into the
database, though it still can't get them back out.
2012-09-17 09:14:26 -07:00
John "Elwin" Edwards
34585136ed
Begin adding arogue5 support to the recorder script.
...
rlgalldb.py's arogue5 object is a nonfunctional stub, but at least it
doesn't crash and the other games still work.
2012-09-16 20:44:22 -07:00
John "Elwin" Edwards
d29446fded
Update the index page.
2012-09-15 17:23:13 +00:00
John "Elwin" Edwards
f3856b3e41
dgl conf: Let the cursor be placed in the proper position automatically.
2012-09-15 09:40:26 -07:00
John "Elwin" Edwards
5a8eded910
Add dgamelaunch configuration to the project.
2012-09-15 08:46:06 -07:00
John "Elwin" Edwards
4ffd81e3e9
Add links to the Advanced Rogue 5 page.
2012-09-14 22:53:16 -07:00
John "Elwin" Edwards
06d5929642
Add an about page for Advanced Rogue 5.
2012-09-14 22:51:18 -07:00
John "Elwin" Edwards
bbb9b31894
Fix the titles and explain a little more about Super-Rogue.
2012-09-14 22:39:39 -07:00
John "Elwin" Edwards
ffd5e45fd0
Import the web/scoring/ files.
2012-09-05 22:34:00 -07:00
John "Elwin" Edwards
81f7f77450
Update the description of rlgallery.org's setup.
2012-08-23 13:17:59 -07:00
John "Elwin" Edwards
ca978b175b
Import the /about web pages.
2012-08-23 10:50:35 -07:00
John "Elwin" Edwards
ba999f774b
Begin importing the website.
...
Add the files from the website's top-level directory. Note that
recent.cgi still uses the old rlgall module.
2012-08-19 21:29:06 -07:00
John "Elwin" Edwards
44aa9d52d1
web/archive.cgi: disable cgitb by default.
...
The Archivist ought to be stable enough...
2012-08-19 15:28:28 -07:00
John "Elwin" Edwards
9e51f9b9d7
web/archive.cgi: fix backward comparisons.
...
Some form-printing code was using != instead of ==, which led to the
date defaulting to today whenever it was specified.
2012-08-19 15:26:18 -07:00
John "Elwin" Edwards
4771dce2d0
Continue removing the time module.
...
Convert some more struct_time instances to datetime objects.
2012-07-26 10:14:56 -07:00
John "Elwin" Edwards
72fcde0ae0
Remove obsolete code.
...
Remove some unnecessary module imports and code that worked with UNIX
timestamps.
2012-07-26 09:35:07 -07:00
John "Elwin" Edwards
5eacaecbcb
Convert web/archive.cgi to use the new SQL timestamps.
...
The Archivist has replaced UNIX timestamps with python datetime objects
derived from SQL timestamps. There are still a lot of struct_time
objects which should be converted too.
2012-07-26 08:07:00 -07:00
John "Elwin" Edwards
d7d87a3a91
Switch to SQL timestamps.
...
Use SQL timestamps whenever possible, and don't store UNIX timestamps
in the database at all.
2012-07-25 23:05:12 -07:00