Add GITADORA HIGH-VOLTAGE support with bugfixes.

This commit is contained in:
marika
2023-05-02 03:57:10 -03:00
parent 87f6ba2abb
commit a628fc437a
6 changed files with 54 additions and 24 deletions

View File

@@ -7,15 +7,28 @@
function getFullGameName(shortName) {
switch (shortName) {
case "dm" :
return "Drummania"
case "gf":
return "Guitar Freaks"
default:
return "DrumMania"
case "gf":
return "GuitarFreaks"
default:
return "Unknown"
}
}
const versions = ["exchain", "nextage"]
function getFullVersionName(shortName) {
switch (shortName) {
case "exchain" :
return "GITADORA EXCHAIN"
case "nextage":
return "GITADORA NEX+AGE"
case "highvoltage":
return "GITADORA HIGH-VOLTAGE"
default:
return "Unknown"
}
}
const versions = ["exchain", "nextage", "highvoltage"]
const games = ["gf", "dm"]
function generateLeaderboards(infos, profiles) {
@@ -64,7 +77,7 @@
-
each board in generateLeaderboards(infos, profiles)
h3 #{getFullGameName(board.game)} #{board.version}
h3 #{getFullVersionName(board.version)} #{getFullGameName(board.game)}
table
tr
th Rank