Record player deaths (#2102)

## Description:

Record player death ticks and "conquests" (when a player has < 100
tiles).
Tournaments would be easier to manage with those information.

Related infra PR: https://github.com/openfrontio/infra/pull/196

Tested locally with docker/infra repo

## Please complete the following:

- [x] I have added screenshots for all UI updates
- [x] I process any text displayed to the user through translateText()
and I've added it to the en.json file
- [x] I have added relevant tests to the test directory
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced

## Please put your Discord username so you can be contacted if a bug or
regression is found:

IngloriousTom
This commit is contained in:
DevelopingTom
2025-09-27 15:52:50 -07:00
committed by GitHub
parent 0843f99b5b
commit c2cf2ce65f
5 changed files with 51 additions and 1 deletions
+1
View File
@@ -55,6 +55,7 @@ export class PlayerExecution implements Execution {
}
});
this.active = false;
this.mg.stats().playerKilled(this.player, ticks);
return;
}