Mise en forme (Biome)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Pierre MARTIN
2026-11-10 04:47:23 +01:00
co-authored by Claude Opus 5.5
parent 5897925b33
commit 5d6cbec89b
+1 -3
View File
@@ -253,9 +253,7 @@ export class Game {
positions.push(check.position);
}
const onRoll = before.turn ?? side;
const boards = await Promise.all(
positions.map((p) => this.#sideBoards(p, onRoll, before)),
);
const boards = await Promise.all(positions.map((p) => this.#sideBoards(p, onRoll, before)));
const opponent = otherSide(side);
const hits = halfMoves.map(
(_, i) => (boards[i + 1]?.[opponent].bar ?? 0) > (boards[i]?.[opponent].bar ?? 0),