@@ 57,7 57,7 @@ ALPHABET = ['A','B','C','D','E','F','G','H','I','J','K','L','M',
DB_NAME = "boggle"
COLL_NAME = "games"
-with open("/srv/boggle/mongodb-url.txt", 'r') as f:
+with open(ROOT_DIR + "/mongodb-url.txt", 'r') as f:
DB_URL = f.read()
dbClient = pymongo.MongoClient(DB_URL)
@@ 25,7 25,15 @@
<input class="purpleButton" type="submit" value="Past Games & Stats" style="float: left"/>
</form><br/><br/>
- <p class="scale"><a href="/boggle_old">Visit the old Boggle game >></a></p>
+ <p class="scale">
+ <a href="/static/boggle/boggle-2.0-design-doc-2019-12-27.pdf">design document</a> |
+ <a target="_blank" href="https://codeberg.org/johanvandegriff/games.johanv.xyz/src/branch/master/boggle.py">server code</a> |
+ <a target="_blank" href="https://codeberg.org/johanvandegriff/games.johanv.xyz/src/branch/master/templates/boggle">client code</a> |
+ <a target="_blank" href="https://codeberg.org/johanvandegriff/games.johanv.xyz/src/branch/master/static/boggle.css">client css</a> |
+ <a target="_blank" href="https://codeberg.org/johanvandegriff/BoggleCV">machine learning code</a>
+ </p>
+
+ <p class="scale">play the old version: <a href="/boggle_old">Boggle 1.0</a></p>
</div>
</div>