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.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><head><title>Scoring</title><link rel="stylesheet" type="text/css" href="/main.css"></head><body><h1>Yendor Guild</h1><div class="nav"><a href="/">rlgallery.org</a> -> Scoring</div><div class="content"><p>The Guild keeps a record of all brave Rogues who venture into the Dungeons of Doom.</p><ul><li><a href="./high.cgi">High Scores</a></li><li><a href="./players/">Explorers</a></li></ul><h2>Statistics</h2><ul><li><a href="./rogue3.html">Rogue V3</a></li><li><a href="./rogue4.html">Rogue V4</a></li><li><a href="./rogue5.html">Rogue V5</a></li><li><a href="./srogue.html">Super-Rogue</a></li><li><a href="./arogue5.html">Advanced Rogue 5</a></li></ul></div><div class="foot"><a href="/">rlgallery.org</a> <a href="/recent.cgi">Recent Games</a> <a href="/scoring/high.cgi">High Scores</a></div></body></html>