Skip to content

Commit

Permalink
Merge pull request #7 from jwyce/fix-square-list-again
Browse files Browse the repository at this point in the history
  • Loading branch information
jwyce authored Jan 20, 2025
2 parents b538597 + 3a69b04 commit eeb8137
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/friendly-carrots-pull.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'gungi.js': patch
---

fix square list order but actually this time
5 changes: 5 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
'📌 area: lib':
- any: ['src/**/*']

'📌 area: ci':
- any: ['.github/**/*']
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 eeb8137

Please sign in to comment.