Mise en forme (Biome)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
5897925b33
commit
5d6cbec89b
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user