Skip to content

Commit

Permalink
Merge pull request #30 from BitBoard/dev-sagara
Browse files Browse the repository at this point in the history
各種駒落ちを実装
  • Loading branch information
sgrwaaa authored Feb 8, 2024
2 parents 2b8e905 + 3bfb17d commit 4dd8842
Show file tree
Hide file tree
Showing 29 changed files with 727 additions and 18 deletions.
48 changes: 48 additions & 0 deletions Assets/Resources/Data/board-drop-bishop.json
Original file line number Diff line number Diff line change
@@ -0,0 +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":1, "x":1, "pieceType":"white_rook"},
{"y":1, "x":7, "pieceType":"white_bishop"},

{"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":7, "pieceType":"black_rook"},

{"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"}
]
}
7 changes: 7 additions & 0 deletions Assets/Resources/Data/board-drop-bishop.json.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 40 additions & 0 deletions Assets/Resources/Data/board-drop-eight.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"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":1, "x":1, "pieceType":"white_rook"},
{"y":1, "x":7, "pieceType":"white_bishop"},

{"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":8, "x":3, "pieceType":"black_gold"},
{"y":8, "x":4, "pieceType":"black_king"},
{"y":8, "x":5, "pieceType":"black_gold"}
]
}
7 changes: 7 additions & 0 deletions Assets/Resources/Data/board-drop-eight.json.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

43 changes: 43 additions & 0 deletions Assets/Resources/Data/board-drop-five.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"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":1, "x":1, "pieceType":"white_rook"},
{"y":1, "x":7, "pieceType":"white_bishop"},

{"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":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"}
]
}
7 changes: 7 additions & 0 deletions Assets/Resources/Data/board-drop-five.json.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 44 additions & 0 deletions Assets/Resources/Data/board-drop-four.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"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":1, "x":1, "pieceType":"white_rook"},
{"y":1, "x":7, "pieceType":"white_bishop"},

{"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":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"}
]
}
7 changes: 7 additions & 0 deletions Assets/Resources/Data/board-drop-four.json.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 44 additions & 0 deletions Assets/Resources/Data/board-drop-left-five.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"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":1, "x":1, "pieceType":"white_rook"},
{"y":1, "x":7, "pieceType":"white_bishop"},

{"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":7, "pieceType":"black_rook"},

{"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"}
]
}
7 changes: 7 additions & 0 deletions Assets/Resources/Data/board-drop-left-five.json.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

48 changes: 48 additions & 0 deletions Assets/Resources/Data/board-drop-left-lance.json
Original file line number Diff line number Diff line change
@@ -0,0 +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":1, "x":1, "pieceType":"white_rook"},
{"y":1, "x":7, "pieceType":"white_bishop"},

{"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":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"}
]
}
7 changes: 7 additions & 0 deletions Assets/Resources/Data/board-drop-left-lance.json.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

48 changes: 48 additions & 0 deletions Assets/Resources/Data/board-drop-right-lance.json
Original file line number Diff line number Diff line change
@@ -0,0 +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":1, "x":1, "pieceType":"white_rook"},
{"y":1, "x":7, "pieceType":"white_bishop"},

{"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":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"}
]
}
7 changes: 7 additions & 0 deletions Assets/Resources/Data/board-drop-right-lance.json.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4dd8842

Please sign in to comment.