render player names efficiently

This commit is contained in:
evanpelle
2024-08-11 13:47:10 -07:00
parent 13808f4d70
commit 1070a5171a
13 changed files with 207 additions and 108 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ export class PlayerExecution implements Execution {
}
tick(ticks: number) {
this.player.addTroops(Math.sqrt(this.player.numTilesOwned() * this.player.troops() + 1000) / 1000 + 100)
this.player.addTroops(Math.sqrt(this.player.numTilesOwned() * this.player.troops() + 1000) / 1000)
}
owner(): MutablePlayer {