From bff82487828e441ddc475be7e5773f755bcc88e6 Mon Sep 17 00:00:00 2001 From: CyberFlame Date: Mon, 16 Oct 2023 14:02:32 +1300 Subject: [PATCH] feat(games): add all backend functionality for frontend features Signed-off-by: CyberFlame --- .idea/DTSCodingDB.iml | 2 +- .idea/jsLinters/jslint.xml | 16 +++ .idea/misc.xml | 2 +- .prettierrc | 6 + app.py | 61 +++++----- data.db | Bin 61440 -> 65536 bytes models/__init__.py | 4 +- pdm.lock | 225 ++++++++++++++++++++----------------- static/js/utils.js | 24 ++-- templates/games.html | 46 +++++++- utils/dbutils.py | 64 ++++++----- 11 files changed, 277 insertions(+), 173 deletions(-) create mode 100644 .idea/jsLinters/jslint.xml create mode 100644 .prettierrc diff --git a/.idea/DTSCodingDB.iml b/.idea/DTSCodingDB.iml index 9476ee7..fad2ecd 100644 --- a/.idea/DTSCodingDB.iml +++ b/.idea/DTSCodingDB.iml @@ -8,7 +8,7 @@ - + diff --git a/.idea/jsLinters/jslint.xml b/.idea/jsLinters/jslint.xml new file mode 100644 index 0000000..9aef27e --- /dev/null +++ b/.idea/jsLinters/jslint.xml @@ -0,0 +1,16 @@ + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml index 2ed8b5a..ad8c1f3 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -7,7 +7,7 @@