Skip to content

Commit

Permalink
Merge pull request #5 from jwyce/fix-square-list
Browse files Browse the repository at this point in the history
  • Loading branch information
jwyce authored Jan 20, 2025
2 parents f9744ee + 74eb935 commit 7693052
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gungi/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const MUSKETEER = '筒';
export const TACTICIAN = '謀';

export const SQUARES = Array.from({ length: 9 }, (_, x) => x + 1).flatMap((x) =>
Array.from({ length: 9 }, (_, y) => `${x}-${y + 1}`)
Array.from({ length: 9 }, (_, y) => `${x}-${9 - y}`)
);

export type Color = 'b' | 'w';
Expand Down

0 comments on commit 7693052

Please sign in to comment.