Skip to content

Commit

Permalink
駒落ち関連を全て修正
Browse files Browse the repository at this point in the history
  • Loading branch information
tsubasa-alife committed Apr 6, 2024
1 parent d91a6b1 commit 1d66512
Show file tree
Hide file tree
Showing 20 changed files with 595 additions and 530 deletions.
96 changes: 71 additions & 25 deletions Assets/Fonts/NotoSansJP-Regular SDF.asset

Large diffs are not rendered by default.

82 changes: 41 additions & 41 deletions Assets/Resources/Data/board-drop-bishop.json
Original file line number Diff line number Diff line change
@@ -1,48 +1,48 @@
{
"boardData" : [
{"y":0, "x":0, "pieceType":"white_lance"},
{"y":0, "x":1, "pieceType":"white_knight"},
{"y":0, "x":2, "pieceType":"white_silver"},
{"y":0, "x":3, "pieceType":"white_gold"},
{"y":0, "x":4, "pieceType":"white_king"},
{"y":0, "x":5, "pieceType":"white_gold"},
{"y":0, "x":6, "pieceType":"white_silver"},
{"y":0, "x":7, "pieceType":"white_knight"},
{"y":0, "x":8, "pieceType":"white_lance"},
{"y":0, "x":0, "pieceType":"BackLance"},
{"y":0, "x":1, "pieceType":"BackKnight"},
{"y":0, "x":2, "pieceType":"BackSilver"},
{"y":0, "x":3, "pieceType":"BackGold"},
{"y":0, "x":4, "pieceType":"BackKing"},
{"y":0, "x":5, "pieceType":"BackGold"},
{"y":0, "x":6, "pieceType":"BackSilver"},
{"y":0, "x":7, "pieceType":"BackKnight"},
{"y":0, "x":8, "pieceType":"BackLance"},

{"y":1, "x":1, "pieceType":"white_rook"},
{"y":1, "x":1, "pieceType":"BackRook"},

{"y":2, "x":0, "pieceType":"white_pawn"},
{"y":2, "x":1, "pieceType":"white_pawn"},
{"y":2, "x":2, "pieceType":"white_pawn"},
{"y":2, "x":3, "pieceType":"white_pawn"},
{"y":2, "x":4, "pieceType":"white_pawn"},
{"y":2, "x":5, "pieceType":"white_pawn"},
{"y":2, "x":6, "pieceType":"white_pawn"},
{"y":2, "x":7, "pieceType":"white_pawn"},
{"y":2, "x":8, "pieceType":"white_pawn"},

{"y":6, "x":0, "pieceType":"black_pawn"},
{"y":6, "x":1, "pieceType":"black_pawn"},
{"y":6, "x":2, "pieceType":"black_pawn"},
{"y":6, "x":3, "pieceType":"black_pawn"},
{"y":6, "x":4, "pieceType":"black_pawn"},
{"y":6, "x":5, "pieceType":"black_pawn"},
{"y":6, "x":6, "pieceType":"black_pawn"},
{"y":6, "x":7, "pieceType":"black_pawn"},
{"y":6, "x":8, "pieceType":"black_pawn"},

{"y":7, "x":1, "pieceType":"black_bishop"},
{"y":7, "x":7, "pieceType":"black_rook"},
{"y":2, "x":0, "pieceType":"BackPawn"},
{"y":2, "x":1, "pieceType":"BackPawn"},
{"y":2, "x":2, "pieceType":"BackPawn"},
{"y":2, "x":3, "pieceType":"BackPawn"},
{"y":2, "x":4, "pieceType":"BackPawn"},
{"y":2, "x":5, "pieceType":"BackPawn"},
{"y":2, "x":6, "pieceType":"BackPawn"},
{"y":2, "x":7, "pieceType":"BackPawn"},
{"y":2, "x":8, "pieceType":"BackPawn"},

{"y":8, "x":0, "pieceType":"black_lance"},
{"y":8, "x":1, "pieceType":"black_knight"},
{"y":8, "x":2, "pieceType":"black_silver"},
{"y":8, "x":3, "pieceType":"black_gold"},
{"y":8, "x":4, "pieceType":"black_king"},
{"y":8, "x":5, "pieceType":"black_gold"},
{"y":8, "x":6, "pieceType":"black_silver"},
{"y":8, "x":7, "pieceType":"black_knight"},
{"y":8, "x":8, "pieceType":"black_lance"}
{"y":6, "x":0, "pieceType":"FrontPawn"},
{"y":6, "x":1, "pieceType":"FrontPawn"},
{"y":6, "x":2, "pieceType":"FrontPawn"},
{"y":6, "x":3, "pieceType":"FrontPawn"},
{"y":6, "x":4, "pieceType":"FrontPawn"},
{"y":6, "x":5, "pieceType":"FrontPawn"},
{"y":6, "x":6, "pieceType":"FrontPawn"},
{"y":6, "x":7, "pieceType":"FrontPawn"},
{"y":6, "x":8, "pieceType":"FrontPawn"},

{"y":7, "x":1, "pieceType":"FrontBishop"},
{"y":7, "x":7, "pieceType":"FrontRook"},

{"y":8, "x":0, "pieceType":"FrontLance"},
{"y":8, "x":1, "pieceType":"FrontKnight"},
{"y":8, "x":2, "pieceType":"FrontSilver"},
{"y":8, "x":3, "pieceType":"FrontGold"},
{"y":8, "x":4, "pieceType":"FrontKing"},
{"y":8, "x":5, "pieceType":"FrontGold"},
{"y":8, "x":6, "pieceType":"FrontSilver"},
{"y":8, "x":7, "pieceType":"FrontKnight"},
{"y":8, "x":8, "pieceType":"FrontLance"}
]
}
68 changes: 34 additions & 34 deletions Assets/Resources/Data/board-drop-eight.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
{
"boardData" : [
{"y":0, "x":3, "pieceType":"white_gold"},
{"y":0, "x":4, "pieceType":"white_king"},
{"y":0, "x":5, "pieceType":"white_gold"},
{"y":0, "x":3, "pieceType":"BackGold"},
{"y":0, "x":4, "pieceType":"BackKing"},
{"y":0, "x":5, "pieceType":"BackGold"},

{"y":2, "x":0, "pieceType":"white_pawn"},
{"y":2, "x":1, "pieceType":"white_pawn"},
{"y":2, "x":2, "pieceType":"white_pawn"},
{"y":2, "x":3, "pieceType":"white_pawn"},
{"y":2, "x":4, "pieceType":"white_pawn"},
{"y":2, "x":5, "pieceType":"white_pawn"},
{"y":2, "x":6, "pieceType":"white_pawn"},
{"y":2, "x":7, "pieceType":"white_pawn"},
{"y":2, "x":8, "pieceType":"white_pawn"},

{"y":6, "x":0, "pieceType":"black_pawn"},
{"y":6, "x":1, "pieceType":"black_pawn"},
{"y":6, "x":2, "pieceType":"black_pawn"},
{"y":6, "x":3, "pieceType":"black_pawn"},
{"y":6, "x":4, "pieceType":"black_pawn"},
{"y":6, "x":5, "pieceType":"black_pawn"},
{"y":6, "x":6, "pieceType":"black_pawn"},
{"y":6, "x":7, "pieceType":"black_pawn"},
{"y":6, "x":8, "pieceType":"black_pawn"},

{"y":7, "x":1, "pieceType":"black_bishop"},
{"y":7, "x":7, "pieceType":"black_rook"},
{"y":2, "x":0, "pieceType":"BackPawn"},
{"y":2, "x":1, "pieceType":"BackPawn"},
{"y":2, "x":2, "pieceType":"BackPawn"},
{"y":2, "x":3, "pieceType":"BackPawn"},
{"y":2, "x":4, "pieceType":"BackPawn"},
{"y":2, "x":5, "pieceType":"BackPawn"},
{"y":2, "x":6, "pieceType":"BackPawn"},
{"y":2, "x":7, "pieceType":"BackPawn"},
{"y":2, "x":8, "pieceType":"BackPawn"},

{"y":8, "x":0, "pieceType":"black_lance"},
{"y":8, "x":1, "pieceType":"black_knight"},
{"y":8, "x":2, "pieceType":"black_silver"},
{"y":8, "x":3, "pieceType":"black_gold"},
{"y":8, "x":4, "pieceType":"black_king"},
{"y":8, "x":5, "pieceType":"black_gold"},
{"y":8, "x":6, "pieceType":"black_silver"},
{"y":8, "x":7, "pieceType":"black_knight"},
{"y":8, "x":8, "pieceType":"black_lance"}
{"y":6, "x":0, "pieceType":"FrontPawn"},
{"y":6, "x":1, "pieceType":"FrontPawn"},
{"y":6, "x":2, "pieceType":"FrontPawn"},
{"y":6, "x":3, "pieceType":"FrontPawn"},
{"y":6, "x":4, "pieceType":"FrontPawn"},
{"y":6, "x":5, "pieceType":"FrontPawn"},
{"y":6, "x":6, "pieceType":"FrontPawn"},
{"y":6, "x":7, "pieceType":"FrontPawn"},
{"y":6, "x":8, "pieceType":"FrontPawn"},

{"y":7, "x":1, "pieceType":"FrontBishop"},
{"y":7, "x":7, "pieceType":"FrontRook"},

{"y":8, "x":0, "pieceType":"FrontLance"},
{"y":8, "x":1, "pieceType":"FrontKnight"},
{"y":8, "x":2, "pieceType":"FrontSilver"},
{"y":8, "x":3, "pieceType":"FrontGold"},
{"y":8, "x":4, "pieceType":"FrontKing"},
{"y":8, "x":5, "pieceType":"FrontGold"},
{"y":8, "x":6, "pieceType":"FrontSilver"},
{"y":8, "x":7, "pieceType":"FrontKnight"},
{"y":8, "x":8, "pieceType":"FrontLance"}
]
}
73 changes: 36 additions & 37 deletions Assets/Resources/Data/board-drop-five.json
Original file line number Diff line number Diff line change
@@ -1,44 +1,43 @@
{
"boardData" : [
{"y":0, "x":2, "pieceType":"white_silver"},
{"y":0, "x":3, "pieceType":"white_gold"},
{"y":0, "x":4, "pieceType":"white_king"},
{"y":0, "x":5, "pieceType":"white_gold"},
{"y":0, "x":6, "pieceType":"white_silver"},
{"y":0, "x":7, "pieceType":"white_knight"},
{"y":0, "x":2, "pieceType":"BackSilver"},
{"y":0, "x":3, "pieceType":"BackGold"},
{"y":0, "x":4, "pieceType":"BackKing"},
{"y":0, "x":5, "pieceType":"BackGold"},
{"y":0, "x":6, "pieceType":"BackSilver"},
{"y":0, "x":7, "pieceType":"BackKnight"},

{"y":2, "x":0, "pieceType":"BackPawn"},
{"y":2, "x":1, "pieceType":"BackPawn"},
{"y":2, "x":2, "pieceType":"BackPawn"},
{"y":2, "x":3, "pieceType":"BackPawn"},
{"y":2, "x":4, "pieceType":"BackPawn"},
{"y":2, "x":5, "pieceType":"BackPawn"},
{"y":2, "x":6, "pieceType":"BackPawn"},
{"y":2, "x":7, "pieceType":"BackPawn"},
{"y":2, "x":8, "pieceType":"BackPawn"},

{"y":2, "x":0, "pieceType":"white_pawn"},
{"y":2, "x":1, "pieceType":"white_pawn"},
{"y":2, "x":2, "pieceType":"white_pawn"},
{"y":2, "x":3, "pieceType":"white_pawn"},
{"y":2, "x":4, "pieceType":"white_pawn"},
{"y":2, "x":5, "pieceType":"white_pawn"},
{"y":2, "x":6, "pieceType":"white_pawn"},
{"y":2, "x":7, "pieceType":"white_pawn"},
{"y":2, "x":8, "pieceType":"white_pawn"},

{"y":6, "x":0, "pieceType":"black_pawn"},
{"y":6, "x":1, "pieceType":"black_pawn"},
{"y":6, "x":2, "pieceType":"black_pawn"},
{"y":6, "x":3, "pieceType":"black_pawn"},
{"y":6, "x":4, "pieceType":"black_pawn"},
{"y":6, "x":5, "pieceType":"black_pawn"},
{"y":6, "x":6, "pieceType":"black_pawn"},
{"y":6, "x":7, "pieceType":"black_pawn"},
{"y":6, "x":8, "pieceType":"black_pawn"},

{"y":7, "x":1, "pieceType":"black_bishop"},
{"y":7, "x":7, "pieceType":"black_rook"},
{"y":6, "x":0, "pieceType":"FrontPawn"},
{"y":6, "x":1, "pieceType":"FrontPawn"},
{"y":6, "x":2, "pieceType":"FrontPawn"},
{"y":6, "x":3, "pieceType":"FrontPawn"},
{"y":6, "x":4, "pieceType":"FrontPawn"},
{"y":6, "x":5, "pieceType":"FrontPawn"},
{"y":6, "x":6, "pieceType":"FrontPawn"},
{"y":6, "x":7, "pieceType":"FrontPawn"},
{"y":6, "x":8, "pieceType":"FrontPawn"},

{"y":8, "x":0, "pieceType":"black_lance"},
{"y":8, "x":1, "pieceType":"black_knight"},
{"y":8, "x":2, "pieceType":"black_silver"},
{"y":8, "x":3, "pieceType":"black_gold"},
{"y":8, "x":4, "pieceType":"black_king"},
{"y":8, "x":5, "pieceType":"black_gold"},
{"y":8, "x":6, "pieceType":"black_silver"},
{"y":8, "x":7, "pieceType":"black_knight"},
{"y":8, "x":8, "pieceType":"black_lance"}
{"y":7, "x":1, "pieceType":"FrontBishop"},
{"y":7, "x":7, "pieceType":"FrontRook"},

{"y":8, "x":0, "pieceType":"FrontLance"},
{"y":8, "x":1, "pieceType":"FrontKnight"},
{"y":8, "x":2, "pieceType":"FrontSilver"},
{"y":8, "x":3, "pieceType":"FrontGold"},
{"y":8, "x":4, "pieceType":"FrontKing"},
{"y":8, "x":5, "pieceType":"FrontGold"},
{"y":8, "x":6, "pieceType":"FrontSilver"},
{"y":8, "x":7, "pieceType":"FrontKnight"},
{"y":8, "x":8, "pieceType":"FrontLance"}
]
}
76 changes: 38 additions & 38 deletions Assets/Resources/Data/board-drop-four.json
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
{
"boardData" : [
{"y":0, "x":1, "pieceType":"white_knight"},
{"y":0, "x":2, "pieceType":"white_silver"},
{"y":0, "x":3, "pieceType":"white_gold"},
{"y":0, "x":4, "pieceType":"white_king"},
{"y":0, "x":5, "pieceType":"white_gold"},
{"y":0, "x":6, "pieceType":"white_silver"},
{"y":0, "x":7, "pieceType":"white_knight"},
{"y":0, "x":1, "pieceType":"BackKnight"},
{"y":0, "x":2, "pieceType":"BackSilver"},
{"y":0, "x":3, "pieceType":"BackGold"},
{"y":0, "x":4, "pieceType":"BackKing"},
{"y":0, "x":5, "pieceType":"BackGold"},
{"y":0, "x":6, "pieceType":"BackSilver"},
{"y":0, "x":7, "pieceType":"BackKnight"},

{"y":2, "x":0, "pieceType":"white_pawn"},
{"y":2, "x":1, "pieceType":"white_pawn"},
{"y":2, "x":2, "pieceType":"white_pawn"},
{"y":2, "x":3, "pieceType":"white_pawn"},
{"y":2, "x":4, "pieceType":"white_pawn"},
{"y":2, "x":5, "pieceType":"white_pawn"},
{"y":2, "x":6, "pieceType":"white_pawn"},
{"y":2, "x":7, "pieceType":"white_pawn"},
{"y":2, "x":8, "pieceType":"white_pawn"},

{"y":6, "x":0, "pieceType":"black_pawn"},
{"y":6, "x":1, "pieceType":"black_pawn"},
{"y":6, "x":2, "pieceType":"black_pawn"},
{"y":6, "x":3, "pieceType":"black_pawn"},
{"y":6, "x":4, "pieceType":"black_pawn"},
{"y":6, "x":5, "pieceType":"black_pawn"},
{"y":6, "x":6, "pieceType":"black_pawn"},
{"y":6, "x":7, "pieceType":"black_pawn"},
{"y":6, "x":8, "pieceType":"black_pawn"},

{"y":7, "x":1, "pieceType":"black_bishop"},
{"y":7, "x":7, "pieceType":"black_rook"},
{"y":2, "x":0, "pieceType":"BackPawn"},
{"y":2, "x":1, "pieceType":"BackPawn"},
{"y":2, "x":2, "pieceType":"BackPawn"},
{"y":2, "x":3, "pieceType":"BackPawn"},
{"y":2, "x":4, "pieceType":"BackPawn"},
{"y":2, "x":5, "pieceType":"BackPawn"},
{"y":2, "x":6, "pieceType":"BackPawn"},
{"y":2, "x":7, "pieceType":"BackPawn"},
{"y":2, "x":8, "pieceType":"BackPawn"},

{"y":8, "x":0, "pieceType":"black_lance"},
{"y":8, "x":1, "pieceType":"black_knight"},
{"y":8, "x":2, "pieceType":"black_silver"},
{"y":8, "x":3, "pieceType":"black_gold"},
{"y":8, "x":4, "pieceType":"black_king"},
{"y":8, "x":5, "pieceType":"black_gold"},
{"y":8, "x":6, "pieceType":"black_silver"},
{"y":8, "x":7, "pieceType":"black_knight"},
{"y":8, "x":8, "pieceType":"black_lance"}
{"y":6, "x":0, "pieceType":"FrontPawn"},
{"y":6, "x":1, "pieceType":"FrontPawn"},
{"y":6, "x":2, "pieceType":"FrontPawn"},
{"y":6, "x":3, "pieceType":"FrontPawn"},
{"y":6, "x":4, "pieceType":"FrontPawn"},
{"y":6, "x":5, "pieceType":"FrontPawn"},
{"y":6, "x":6, "pieceType":"FrontPawn"},
{"y":6, "x":7, "pieceType":"FrontPawn"},
{"y":6, "x":8, "pieceType":"FrontPawn"},

{"y":7, "x":1, "pieceType":"FrontBishop"},
{"y":7, "x":7, "pieceType":"FrontRook"},

{"y":8, "x":0, "pieceType":"FrontLance"},
{"y":8, "x":1, "pieceType":"FrontKnight"},
{"y":8, "x":2, "pieceType":"FrontSilver"},
{"y":8, "x":3, "pieceType":"FrontGold"},
{"y":8, "x":4, "pieceType":"FrontKing"},
{"y":8, "x":5, "pieceType":"FrontGold"},
{"y":8, "x":6, "pieceType":"FrontSilver"},
{"y":8, "x":7, "pieceType":"FrontKnight"},
{"y":8, "x":8, "pieceType":"FrontLance"}
]
}
Loading

0 comments on commit 1d66512

Please sign in to comment.