format code with prettier

This commit is contained in:
evanpelle
2025-06-06 12:45:53 -07:00
parent 9c7e0ce32f
commit 02f7caef88
10 changed files with 10 additions and 45 deletions
+4 -8
View File
@@ -21,13 +21,7 @@ let attackerSpawn: TileRef;
function sendBoat(target: TileRef, source: TileRef, troops: number) {
game.addExecution(
new TransportShipExecution(
defender,
null,
target,
troops,
source,
),
new TransportShipExecution(defender, null, target, troops, source),
);
}
@@ -70,7 +64,9 @@ describe("Attack", () => {
attacker = game.player(attackerInfo.id);
defender = game.player(defenderInfo.id);
game.addExecution(new AttackExecution(100, defender, game.terraNullius().id()));
game.addExecution(
new AttackExecution(100, defender, game.terraNullius().id()),
);
game.executeNextTick();
while (defender.outgoingAttacks().length > 0) {
game.executeNextTick();