improved algorithm for calculating player name location

This commit is contained in:
evanpelle
2024-08-19 13:07:15 -07:00
parent fe67cc8492
commit 7d48dd1cba
7 changed files with 111 additions and 68 deletions
+4 -1
View File
@@ -15,12 +15,15 @@ export const devConfig = new class extends DefaultConfig {
player(): PlayerConfig {
return devPlayerConfig
}
numBots(): number {
return 500
}
}
export const devPlayerConfig = new class extends DefaultPlayerConfig {
startTroops(playerInfo: PlayerInfo): number {
if (playerInfo.isBot) {
return 10
return 5000
}
return 5000
}