~johanvandegriff/games.johanv.net

c1906fea540c11fc144b3594795f25bc30de4b57 — Johan Vandegriff 2 years ago 513262f
changed boggle login screen and added design doc
3 files changed, 10 insertions(+), 2 deletions(-)

M boggle.py
A static/boggle/boggle-2.0-design-doc-2019-12-27.pdf
M templates/boggle/login.html
M boggle.py => boggle.py +1 -1
@@ 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)

A static/boggle/boggle-2.0-design-doc-2019-12-27.pdf => static/boggle/boggle-2.0-design-doc-2019-12-27.pdf +0 -0
M templates/boggle/login.html => templates/boggle/login.html +9 -1
@@ 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>