mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 16:30:16 +00:00
print team leaderboard to console
This commit is contained in:
@@ -68,6 +68,9 @@ export class WinCheckExecution implements Execution {
|
||||
if (sorted.length == 0) {
|
||||
return;
|
||||
}
|
||||
console.log(
|
||||
`TEAM LEADERBOARD:\n${sorted.map((t) => `${t[0]}: ${t[1]}`).join("\n")}`,
|
||||
);
|
||||
const max = sorted[0];
|
||||
const numTilesWithoutFallout =
|
||||
this.mg.numLandTiles() - this.mg.numTilesWithFallout();
|
||||
|
||||
Reference in New Issue
Block a user