From 883fc794a70c62f8ba82da67e3fe71421a727453 Mon Sep 17 00:00:00 2001
From: Burlone <108557545+burlone0@users.noreply.github.com>
Date: Sun, 30 Mar 2025 01:15:45 +0100
Subject: [PATCH] Added leaderboards
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Thanks Heliato for help me ❤
Co-Authored-By: Heliato <96926733+heliato@users.noreply.github.com>
---
LICENSE | 2 +-
Website/Data/html/accountExists.html | 2 +-
Website/Data/html/register.html | 2 +-
model/userstats.js | 20 +++
package-lock.json | 4 +-
package.json | 2 +-
routes/leaderboards.js | 204 +++++++++++++++++++++++++++
routes/matchmaking.js | 57 +-------
structs/functions.js | 69 +++++++++
structs/profile.js | 67 +++++++++
10 files changed, 367 insertions(+), 62 deletions(-)
create mode 100644 model/userstats.js
create mode 100644 routes/leaderboards.js
diff --git a/LICENSE b/LICENSE
index 3761eb3..1bb5147 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
BSD 3-Clause License
-Copyright (c) 2024, Project Reload
+Copyright (c) 2024-2025, Project Reload
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
diff --git a/Website/Data/html/accountExists.html b/Website/Data/html/accountExists.html
index da23764..efa2c17 100644
--- a/Website/Data/html/accountExists.html
+++ b/Website/Data/html/accountExists.html
@@ -16,7 +16,7 @@