change scoring and sorting

This commit is contained in:
biglyderv 2024-11-25 14:14:21 -05:00
parent 5414c719f1
commit 155257514d
4 changed files with 16 additions and 6 deletions

View file

@ -49,7 +49,8 @@ class Game extends GameBasic {
if (!hash) {
hash = createHash('sha256');
hash.update(client.ip || '');
hash.update((+new Date) + '');
//hash.update(client.ip || '');
hash = hash.digest('hex');
}
@ -108,7 +109,7 @@ class Game extends GameBasic {
that.entities.push(new NPC(false, that))
}
for (let i = 0; i < 30; i++) {
for (let i = 0; i < 18; i++) {
that.entities.push(new Shooter(false, that))
}