filter out scores under 5

This commit is contained in:
biglyderv 2024-11-25 14:14:21 -05:00
parent 988044dc7f
commit edc5193746

View file

@ -31,7 +31,7 @@ class Game extends GameBasic {
scores[score] = Math.round(Math.sqrt(s));
}
let s = Object.entries(scores).sort((a, b) => b[1] - a[1]);
let s = Object.entries(scores).sort((a, b) => b[1] - a[1]).filter(a => a[1] > 5);
for (let x in s) {
let jk = jason.filter(y => y.ip == s[x][0]).map(y => y.ko).sort((a,b) => b - a);