shogi.js 2.0.4 → 2.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +27 -0
- package/.nvmrc +1 -1
- package/.prettierignore +10 -0
- package/.prettierrc.json +5 -0
- package/.travis.yml +1 -1
- package/README.md +12 -13
- package/dist/shogi.js +2 -2
- package/dist/src/Kind.d.ts +19 -0
- package/dist/src/Piece.d.ts +6 -5
- package/dist/src/moveDefinitions.d.ts +3 -0
- package/dist/src/presets.d.ts +74 -0
- package/dist/src/shogi.d.ts +11 -11
- package/package.json +11 -7
- package/.github/workflows/gh-pages.yml +0 -33
- package/.idea/codeStyles/Project.xml +0 -21
- package/.idea/codeStyles/codeStyleConfig.xml +0 -5
- package/.idea/inspectionProfiles/Project_Default.xml +0 -6
- package/.idea/misc.xml +0 -6
- package/.idea/modules.xml +0 -8
- package/.idea/vcs.xml +0 -6
- package/dist/src/Constants.d.ts +0 -14
- package/docs/assets/css/main.css +0 -1
- package/docs/assets/images/icons.png +0 -0
- package/docs/assets/images/icons@2x.png +0 -0
- package/docs/assets/images/widgets.png +0 -0
- package/docs/assets/images/widgets@2x.png +0 -0
- package/docs/assets/js/main.js +0 -51
- package/docs/assets/js/search.js +0 -1
- package/docs/classes/piece.html +0 -563
- package/docs/classes/shogi.html +0 -1187
- package/docs/enums/color.html +0 -186
- package/docs/index.html +0 -204
- package/docs/interfaces/imove.html +0 -236
- package/docs/interfaces/imovedefinition.html +0 -186
- package/docs/interfaces/isettingtype.html +0 -200
- package/docs/modules.html +0 -149
- package/public/docs/assets/css/main.css +0 -1
- package/public/docs/assets/images/icons.png +0 -0
- package/public/docs/assets/images/icons@2x.png +0 -0
- package/public/docs/assets/images/widgets.png +0 -0
- package/public/docs/assets/images/widgets@2x.png +0 -0
- package/public/docs/assets/js/main.js +0 -51
- package/public/docs/assets/js/search.json +0 -1
- package/public/docs/classes/_piece_.piece.html +0 -576
- package/public/docs/classes/_shogi_.shogi.html +0 -1206
- package/public/docs/enums/_color_.color.html +0 -193
- package/public/docs/globals.html +0 -146
- package/public/docs/index.html +0 -227
- package/public/docs/interfaces/_imovedefinition_.imovedefinition.html +0 -194
- package/public/docs/interfaces/_shogi_.imove.html +0 -250
- package/public/docs/interfaces/_shogi_.isettingtype.html +0 -214
- package/public/docs/modules/_color_.html +0 -146
- package/public/docs/modules/_constants_.html +0 -1074
- package/public/docs/modules/_imovedefinition_.html +0 -146
- package/public/docs/modules/_piece_.html +0 -146
- package/public/docs/modules/_polyfills_.html +0 -112
- package/public/docs/modules/_serialization_.html +0 -262
- package/public/docs/modules/_shogi_.html +0 -159
|
@@ -1,1074 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html class="default no-js">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8">
|
|
5
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
-
<title>"Constants" | shogi.js</title>
|
|
7
|
-
<meta name="description" content="Documentation for shogi.js">
|
|
8
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
|
-
<link rel="stylesheet" href="../assets/css/main.css">
|
|
10
|
-
</head>
|
|
11
|
-
<body>
|
|
12
|
-
<header>
|
|
13
|
-
<div class="tsd-page-toolbar">
|
|
14
|
-
<div class="container">
|
|
15
|
-
<div class="table-wrap">
|
|
16
|
-
<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
|
|
17
|
-
<div class="field">
|
|
18
|
-
<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
|
|
19
|
-
<input id="tsd-search-field" type="text" />
|
|
20
|
-
</div>
|
|
21
|
-
<ul class="results">
|
|
22
|
-
<li class="state loading">Preparing search index...</li>
|
|
23
|
-
<li class="state failure">The search index is not available</li>
|
|
24
|
-
</ul>
|
|
25
|
-
<a href="../index.html" class="title">shogi.js</a>
|
|
26
|
-
</div>
|
|
27
|
-
<div class="table-cell" id="tsd-widgets">
|
|
28
|
-
<div id="tsd-filter">
|
|
29
|
-
<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
|
|
30
|
-
<div class="tsd-filter-group">
|
|
31
|
-
<div class="tsd-select" id="tsd-filter-visibility">
|
|
32
|
-
<span class="tsd-select-label">All</span>
|
|
33
|
-
<ul class="tsd-select-list">
|
|
34
|
-
<li data-value="public">Public</li>
|
|
35
|
-
<li data-value="protected">Public/Protected</li>
|
|
36
|
-
<li data-value="private" class="selected">All</li>
|
|
37
|
-
</ul>
|
|
38
|
-
</div>
|
|
39
|
-
<input type="checkbox" id="tsd-filter-inherited" checked />
|
|
40
|
-
<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
|
|
41
|
-
<input type="checkbox" id="tsd-filter-externals" checked />
|
|
42
|
-
<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
|
|
43
|
-
<input type="checkbox" id="tsd-filter-only-exported" />
|
|
44
|
-
<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
|
|
45
|
-
</div>
|
|
46
|
-
</div>
|
|
47
|
-
<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
|
|
48
|
-
</div>
|
|
49
|
-
</div>
|
|
50
|
-
</div>
|
|
51
|
-
</div>
|
|
52
|
-
<div class="tsd-page-title">
|
|
53
|
-
<div class="container">
|
|
54
|
-
<ul class="tsd-breadcrumb">
|
|
55
|
-
<li>
|
|
56
|
-
<a href="../globals.html">Globals</a>
|
|
57
|
-
</li>
|
|
58
|
-
<li>
|
|
59
|
-
<a href="_constants_.html">"Constants"</a>
|
|
60
|
-
</li>
|
|
61
|
-
</ul>
|
|
62
|
-
<h1>Module "Constants"</h1>
|
|
63
|
-
</div>
|
|
64
|
-
</div>
|
|
65
|
-
</header>
|
|
66
|
-
<div class="container container-main">
|
|
67
|
-
<div class="row">
|
|
68
|
-
<div class="col-8 col-content">
|
|
69
|
-
<section class="tsd-panel-group tsd-index-group">
|
|
70
|
-
<h2>Index</h2>
|
|
71
|
-
<section class="tsd-panel tsd-index-panel">
|
|
72
|
-
<div class="tsd-index-content">
|
|
73
|
-
<section class="tsd-index-section tsd-is-not-exported">
|
|
74
|
-
<h3>Variables</h3>
|
|
75
|
-
<ul class="tsd-index-list">
|
|
76
|
-
<li class="tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported"><a href="_constants_.html#b" class="tsd-kind-icon">B</a></li>
|
|
77
|
-
<li class="tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported"><a href="_constants_.html#bl" class="tsd-kind-icon">BL</a></li>
|
|
78
|
-
<li class="tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported"><a href="_constants_.html#board2_9" class="tsd-kind-icon">BOARD2_<wbr>9</a></li>
|
|
79
|
-
<li class="tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported"><a href="_constants_.html#board3_9" class="tsd-kind-icon">BOARD3_<wbr>9</a></li>
|
|
80
|
-
<li class="tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported"><a href="_constants_.html#br" class="tsd-kind-icon">BR</a></li>
|
|
81
|
-
<li class="tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported"><a href="_constants_.html#empty" class="tsd-kind-icon">EMPTY</a></li>
|
|
82
|
-
<li class="tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported"><a href="_constants_.html#f" class="tsd-kind-icon">F</a></li>
|
|
83
|
-
<li class="tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported"><a href="_constants_.html#fl" class="tsd-kind-icon">FL</a></li>
|
|
84
|
-
<li class="tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported"><a href="_constants_.html#fr" class="tsd-kind-icon">FR</a></li>
|
|
85
|
-
<li class="tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported"><a href="_constants_.html#l" class="tsd-kind-icon">L</a></li>
|
|
86
|
-
<li class="tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported"><a href="_constants_.html#r" class="tsd-kind-icon">R</a></li>
|
|
87
|
-
</ul>
|
|
88
|
-
</section>
|
|
89
|
-
<section class="tsd-index-section ">
|
|
90
|
-
<h3>Object literals</h3>
|
|
91
|
-
<ul class="tsd-index-list">
|
|
92
|
-
<li class="tsd-kind-object-literal tsd-parent-kind-module"><a href="_constants_.html#move_def" class="tsd-kind-icon">MOVE_<wbr>DEF</a></li>
|
|
93
|
-
<li class="tsd-kind-object-literal tsd-parent-kind-module"><a href="_constants_.html#preset" class="tsd-kind-icon">PRESET</a></li>
|
|
94
|
-
<li class="tsd-kind-object-literal tsd-parent-kind-module tsd-is-not-exported"><a href="_constants_.html#kin" class="tsd-kind-icon">kin</a></li>
|
|
95
|
-
</ul>
|
|
96
|
-
</section>
|
|
97
|
-
</div>
|
|
98
|
-
</section>
|
|
99
|
-
</section>
|
|
100
|
-
<section class="tsd-panel-group tsd-member-group tsd-is-not-exported">
|
|
101
|
-
<h2>Variables</h2>
|
|
102
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
|
|
103
|
-
<a name="b" class="tsd-anchor"></a>
|
|
104
|
-
<h3><span class="tsd-flag ts-flagConst">Const</span> B</h3>
|
|
105
|
-
<div class="tsd-signature tsd-kind-icon">B<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = [0, 1]</span></div>
|
|
106
|
-
<aside class="tsd-sources">
|
|
107
|
-
<ul>
|
|
108
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L111">Constants.ts:111</a></li>
|
|
109
|
-
</ul>
|
|
110
|
-
</aside>
|
|
111
|
-
</section>
|
|
112
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
|
|
113
|
-
<a name="bl" class="tsd-anchor"></a>
|
|
114
|
-
<h3><span class="tsd-flag ts-flagConst">Const</span> BL</h3>
|
|
115
|
-
<div class="tsd-signature tsd-kind-icon">BL<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = [1, 1]</span></div>
|
|
116
|
-
<aside class="tsd-sources">
|
|
117
|
-
<ul>
|
|
118
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L117">Constants.ts:117</a></li>
|
|
119
|
-
</ul>
|
|
120
|
-
</aside>
|
|
121
|
-
</section>
|
|
122
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
|
|
123
|
-
<a name="board2_9" class="tsd-anchor"></a>
|
|
124
|
-
<h3><span class="tsd-flag ts-flagConst">Const</span> BOARD2_<wbr>9</h3>
|
|
125
|
-
<div class="tsd-signature tsd-kind-icon">BOARD2_<wbr>9<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = [EMPTY].concat(BOARD3_9)</span></div>
|
|
126
|
-
<aside class="tsd-sources">
|
|
127
|
-
<ul>
|
|
128
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L12">Constants.ts:12</a></li>
|
|
129
|
-
</ul>
|
|
130
|
-
</aside>
|
|
131
|
-
</section>
|
|
132
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
|
|
133
|
-
<a name="board3_9" class="tsd-anchor"></a>
|
|
134
|
-
<h3><span class="tsd-flag ts-flagConst">Const</span> BOARD3_<wbr>9</h3>
|
|
135
|
-
<div class="tsd-signature tsd-kind-icon">BOARD3_<wbr>9<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = ["-FU-FU-FU-FU-FU-FU-FU-FU-FU",EMPTY, EMPTY, EMPTY,"+FU+FU+FU+FU+FU+FU+FU+FU+FU"," * +KA * * * * * +HI * ","+KY+KE+GI+KI+OU+KI+GI+KE+KY",]</span></div>
|
|
136
|
-
<aside class="tsd-sources">
|
|
137
|
-
<ul>
|
|
138
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L5">Constants.ts:5</a></li>
|
|
139
|
-
</ul>
|
|
140
|
-
</aside>
|
|
141
|
-
</section>
|
|
142
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
|
|
143
|
-
<a name="br" class="tsd-anchor"></a>
|
|
144
|
-
<h3><span class="tsd-flag ts-flagConst">Const</span> BR</h3>
|
|
145
|
-
<div class="tsd-signature tsd-kind-icon">BR<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = [-1, 1]</span></div>
|
|
146
|
-
<aside class="tsd-sources">
|
|
147
|
-
<ul>
|
|
148
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L116">Constants.ts:116</a></li>
|
|
149
|
-
</ul>
|
|
150
|
-
</aside>
|
|
151
|
-
</section>
|
|
152
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
|
|
153
|
-
<a name="empty" class="tsd-anchor"></a>
|
|
154
|
-
<h3><span class="tsd-flag ts-flagConst">Const</span> EMPTY</h3>
|
|
155
|
-
<div class="tsd-signature tsd-kind-icon">EMPTY<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">" * * * * * * * * * "</span><span class="tsd-signature-symbol"> = " * * * * * * * * * "</span></div>
|
|
156
|
-
<aside class="tsd-sources">
|
|
157
|
-
<ul>
|
|
158
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L4">Constants.ts:4</a></li>
|
|
159
|
-
</ul>
|
|
160
|
-
</aside>
|
|
161
|
-
</section>
|
|
162
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
|
|
163
|
-
<a name="f" class="tsd-anchor"></a>
|
|
164
|
-
<h3><span class="tsd-flag ts-flagConst">Const</span> F</h3>
|
|
165
|
-
<div class="tsd-signature tsd-kind-icon">F<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = [0, -1]</span></div>
|
|
166
|
-
<aside class="tsd-sources">
|
|
167
|
-
<ul>
|
|
168
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L110">Constants.ts:110</a></li>
|
|
169
|
-
</ul>
|
|
170
|
-
</aside>
|
|
171
|
-
</section>
|
|
172
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
|
|
173
|
-
<a name="fl" class="tsd-anchor"></a>
|
|
174
|
-
<h3><span class="tsd-flag ts-flagConst">Const</span> FL</h3>
|
|
175
|
-
<div class="tsd-signature tsd-kind-icon">FL<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = [1, -1]</span></div>
|
|
176
|
-
<aside class="tsd-sources">
|
|
177
|
-
<ul>
|
|
178
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L115">Constants.ts:115</a></li>
|
|
179
|
-
</ul>
|
|
180
|
-
</aside>
|
|
181
|
-
</section>
|
|
182
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
|
|
183
|
-
<a name="fr" class="tsd-anchor"></a>
|
|
184
|
-
<h3><span class="tsd-flag ts-flagConst">Const</span> FR</h3>
|
|
185
|
-
<div class="tsd-signature tsd-kind-icon">FR<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = [-1, -1]</span></div>
|
|
186
|
-
<aside class="tsd-sources">
|
|
187
|
-
<ul>
|
|
188
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L114">Constants.ts:114</a></li>
|
|
189
|
-
</ul>
|
|
190
|
-
</aside>
|
|
191
|
-
</section>
|
|
192
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
|
|
193
|
-
<a name="l" class="tsd-anchor"></a>
|
|
194
|
-
<h3><span class="tsd-flag ts-flagConst">Const</span> L</h3>
|
|
195
|
-
<div class="tsd-signature tsd-kind-icon">L<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = [1, 0]</span></div>
|
|
196
|
-
<aside class="tsd-sources">
|
|
197
|
-
<ul>
|
|
198
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L112">Constants.ts:112</a></li>
|
|
199
|
-
</ul>
|
|
200
|
-
</aside>
|
|
201
|
-
</section>
|
|
202
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
|
|
203
|
-
<a name="r" class="tsd-anchor"></a>
|
|
204
|
-
<h3><span class="tsd-flag ts-flagConst">Const</span> R</h3>
|
|
205
|
-
<div class="tsd-signature tsd-kind-icon">R<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = [-1, 0]</span></div>
|
|
206
|
-
<aside class="tsd-sources">
|
|
207
|
-
<ul>
|
|
208
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L113">Constants.ts:113</a></li>
|
|
209
|
-
</ul>
|
|
210
|
-
</aside>
|
|
211
|
-
</section>
|
|
212
|
-
</section>
|
|
213
|
-
<section class="tsd-panel-group tsd-member-group ">
|
|
214
|
-
<h2>Object literals</h2>
|
|
215
|
-
<section class="tsd-panel tsd-member tsd-kind-object-literal tsd-parent-kind-module">
|
|
216
|
-
<a name="move_def" class="tsd-anchor"></a>
|
|
217
|
-
<h3><span class="tsd-flag ts-flagConst">Const</span> MOVE_<wbr>DEF</h3>
|
|
218
|
-
<div class="tsd-signature tsd-kind-icon">MOVE_<wbr>DEF<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
|
|
219
|
-
<aside class="tsd-sources">
|
|
220
|
-
<ul>
|
|
221
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L121">Constants.ts:121</a></li>
|
|
222
|
-
</ul>
|
|
223
|
-
</aside>
|
|
224
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
225
|
-
<a name="move_def.ki" class="tsd-anchor"></a>
|
|
226
|
-
<h3>KI</h3>
|
|
227
|
-
<div class="tsd-signature tsd-kind-icon">KI<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>just<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> = kin</span></div>
|
|
228
|
-
<aside class="tsd-sources">
|
|
229
|
-
<ul>
|
|
230
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L126">Constants.ts:126</a></li>
|
|
231
|
-
</ul>
|
|
232
|
-
</aside>
|
|
233
|
-
<div class="tsd-type-declaration">
|
|
234
|
-
<h4>Type declaration</h4>
|
|
235
|
-
<ul class="tsd-parameters">
|
|
236
|
-
<li class="tsd-parameter">
|
|
237
|
-
<h5>just<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span></h5>
|
|
238
|
-
</li>
|
|
239
|
-
</ul>
|
|
240
|
-
</div>
|
|
241
|
-
</section>
|
|
242
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
243
|
-
<a name="move_def.ng" class="tsd-anchor"></a>
|
|
244
|
-
<h3>NG</h3>
|
|
245
|
-
<div class="tsd-signature tsd-kind-icon">NG<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>just<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> = kin</span></div>
|
|
246
|
-
<aside class="tsd-sources">
|
|
247
|
-
<ul>
|
|
248
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L130">Constants.ts:130</a></li>
|
|
249
|
-
</ul>
|
|
250
|
-
</aside>
|
|
251
|
-
<div class="tsd-type-declaration">
|
|
252
|
-
<h4>Type declaration</h4>
|
|
253
|
-
<ul class="tsd-parameters">
|
|
254
|
-
<li class="tsd-parameter">
|
|
255
|
-
<h5>just<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span></h5>
|
|
256
|
-
</li>
|
|
257
|
-
</ul>
|
|
258
|
-
</div>
|
|
259
|
-
</section>
|
|
260
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
261
|
-
<a name="move_def.nk" class="tsd-anchor"></a>
|
|
262
|
-
<h3>NK</h3>
|
|
263
|
-
<div class="tsd-signature tsd-kind-icon">NK<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>just<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> = kin</span></div>
|
|
264
|
-
<aside class="tsd-sources">
|
|
265
|
-
<ul>
|
|
266
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L129">Constants.ts:129</a></li>
|
|
267
|
-
</ul>
|
|
268
|
-
</aside>
|
|
269
|
-
<div class="tsd-type-declaration">
|
|
270
|
-
<h4>Type declaration</h4>
|
|
271
|
-
<ul class="tsd-parameters">
|
|
272
|
-
<li class="tsd-parameter">
|
|
273
|
-
<h5>just<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span></h5>
|
|
274
|
-
</li>
|
|
275
|
-
</ul>
|
|
276
|
-
</div>
|
|
277
|
-
</section>
|
|
278
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
279
|
-
<a name="move_def.ny" class="tsd-anchor"></a>
|
|
280
|
-
<h3>NY</h3>
|
|
281
|
-
<div class="tsd-signature tsd-kind-icon">NY<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>just<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> = kin</span></div>
|
|
282
|
-
<aside class="tsd-sources">
|
|
283
|
-
<ul>
|
|
284
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L128">Constants.ts:128</a></li>
|
|
285
|
-
</ul>
|
|
286
|
-
</aside>
|
|
287
|
-
<div class="tsd-type-declaration">
|
|
288
|
-
<h4>Type declaration</h4>
|
|
289
|
-
<ul class="tsd-parameters">
|
|
290
|
-
<li class="tsd-parameter">
|
|
291
|
-
<h5>just<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span></h5>
|
|
292
|
-
</li>
|
|
293
|
-
</ul>
|
|
294
|
-
</div>
|
|
295
|
-
</section>
|
|
296
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
297
|
-
<a name="move_def.to" class="tsd-anchor"></a>
|
|
298
|
-
<h3>TO</h3>
|
|
299
|
-
<div class="tsd-signature tsd-kind-icon">TO<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>just<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> = kin</span></div>
|
|
300
|
-
<aside class="tsd-sources">
|
|
301
|
-
<ul>
|
|
302
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L127">Constants.ts:127</a></li>
|
|
303
|
-
</ul>
|
|
304
|
-
</aside>
|
|
305
|
-
<div class="tsd-type-declaration">
|
|
306
|
-
<h4>Type declaration</h4>
|
|
307
|
-
<ul class="tsd-parameters">
|
|
308
|
-
<li class="tsd-parameter">
|
|
309
|
-
<h5>just<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span></h5>
|
|
310
|
-
</li>
|
|
311
|
-
</ul>
|
|
312
|
-
</div>
|
|
313
|
-
</section>
|
|
314
|
-
<section class="tsd-panel tsd-member tsd-kind-object-literal tsd-parent-kind-object-literal">
|
|
315
|
-
<a name="move_def.fu" class="tsd-anchor"></a>
|
|
316
|
-
<h3>FU</h3>
|
|
317
|
-
<div class="tsd-signature tsd-kind-icon">FU<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
|
|
318
|
-
<aside class="tsd-sources">
|
|
319
|
-
<ul>
|
|
320
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L122">Constants.ts:122</a></li>
|
|
321
|
-
</ul>
|
|
322
|
-
</aside>
|
|
323
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
324
|
-
<a name="move_def.fu.just-5" class="tsd-anchor"></a>
|
|
325
|
-
<h3>just</h3>
|
|
326
|
-
<div class="tsd-signature tsd-kind-icon">just<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = [F]</span></div>
|
|
327
|
-
<aside class="tsd-sources">
|
|
328
|
-
<ul>
|
|
329
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L122">Constants.ts:122</a></li>
|
|
330
|
-
</ul>
|
|
331
|
-
</aside>
|
|
332
|
-
</section>
|
|
333
|
-
</section>
|
|
334
|
-
<section class="tsd-panel tsd-member tsd-kind-object-literal tsd-parent-kind-object-literal">
|
|
335
|
-
<a name="move_def.gi" class="tsd-anchor"></a>
|
|
336
|
-
<h3>GI</h3>
|
|
337
|
-
<div class="tsd-signature tsd-kind-icon">GI<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
|
|
338
|
-
<aside class="tsd-sources">
|
|
339
|
-
<ul>
|
|
340
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L125">Constants.ts:125</a></li>
|
|
341
|
-
</ul>
|
|
342
|
-
</aside>
|
|
343
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
344
|
-
<a name="move_def.gi.just-6" class="tsd-anchor"></a>
|
|
345
|
-
<h3>just</h3>
|
|
346
|
-
<div class="tsd-signature tsd-kind-icon">just<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = [FR, F, FL, BR, BL]</span></div>
|
|
347
|
-
<aside class="tsd-sources">
|
|
348
|
-
<ul>
|
|
349
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L125">Constants.ts:125</a></li>
|
|
350
|
-
</ul>
|
|
351
|
-
</aside>
|
|
352
|
-
</section>
|
|
353
|
-
</section>
|
|
354
|
-
<section class="tsd-panel tsd-member tsd-kind-object-literal tsd-parent-kind-object-literal">
|
|
355
|
-
<a name="move_def.hi" class="tsd-anchor"></a>
|
|
356
|
-
<h3>HI</h3>
|
|
357
|
-
<div class="tsd-signature tsd-kind-icon">HI<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
|
|
358
|
-
<aside class="tsd-sources">
|
|
359
|
-
<ul>
|
|
360
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L132">Constants.ts:132</a></li>
|
|
361
|
-
</ul>
|
|
362
|
-
</aside>
|
|
363
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
364
|
-
<a name="move_def.hi.fly" class="tsd-anchor"></a>
|
|
365
|
-
<h3>fly</h3>
|
|
366
|
-
<div class="tsd-signature tsd-kind-icon">fly<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = [F, R, L, B]</span></div>
|
|
367
|
-
<aside class="tsd-sources">
|
|
368
|
-
<ul>
|
|
369
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L132">Constants.ts:132</a></li>
|
|
370
|
-
</ul>
|
|
371
|
-
</aside>
|
|
372
|
-
</section>
|
|
373
|
-
</section>
|
|
374
|
-
<section class="tsd-panel tsd-member tsd-kind-object-literal tsd-parent-kind-object-literal">
|
|
375
|
-
<a name="move_def.ka" class="tsd-anchor"></a>
|
|
376
|
-
<h3>KA</h3>
|
|
377
|
-
<div class="tsd-signature tsd-kind-icon">KA<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
|
|
378
|
-
<aside class="tsd-sources">
|
|
379
|
-
<ul>
|
|
380
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L131">Constants.ts:131</a></li>
|
|
381
|
-
</ul>
|
|
382
|
-
</aside>
|
|
383
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
384
|
-
<a name="move_def.ka.fly-1" class="tsd-anchor"></a>
|
|
385
|
-
<h3>fly</h3>
|
|
386
|
-
<div class="tsd-signature tsd-kind-icon">fly<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = [FR, FL, BR, BL]</span></div>
|
|
387
|
-
<aside class="tsd-sources">
|
|
388
|
-
<ul>
|
|
389
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L131">Constants.ts:131</a></li>
|
|
390
|
-
</ul>
|
|
391
|
-
</aside>
|
|
392
|
-
</section>
|
|
393
|
-
</section>
|
|
394
|
-
<section class="tsd-panel tsd-member tsd-kind-object-literal tsd-parent-kind-object-literal">
|
|
395
|
-
<a name="move_def.ke" class="tsd-anchor"></a>
|
|
396
|
-
<h3>KE</h3>
|
|
397
|
-
<div class="tsd-signature tsd-kind-icon">KE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
|
|
398
|
-
<aside class="tsd-sources">
|
|
399
|
-
<ul>
|
|
400
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L124">Constants.ts:124</a></li>
|
|
401
|
-
</ul>
|
|
402
|
-
</aside>
|
|
403
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
404
|
-
<a name="move_def.ke.just-7" class="tsd-anchor"></a>
|
|
405
|
-
<h3>just</h3>
|
|
406
|
-
<div class="tsd-signature tsd-kind-icon">just<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = [[-1, -2], [1, -2]]</span></div>
|
|
407
|
-
<aside class="tsd-sources">
|
|
408
|
-
<ul>
|
|
409
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L124">Constants.ts:124</a></li>
|
|
410
|
-
</ul>
|
|
411
|
-
</aside>
|
|
412
|
-
</section>
|
|
413
|
-
</section>
|
|
414
|
-
<section class="tsd-panel tsd-member tsd-kind-object-literal tsd-parent-kind-object-literal">
|
|
415
|
-
<a name="move_def.ky" class="tsd-anchor"></a>
|
|
416
|
-
<h3>KY</h3>
|
|
417
|
-
<div class="tsd-signature tsd-kind-icon">KY<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
|
|
418
|
-
<aside class="tsd-sources">
|
|
419
|
-
<ul>
|
|
420
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L123">Constants.ts:123</a></li>
|
|
421
|
-
</ul>
|
|
422
|
-
</aside>
|
|
423
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
424
|
-
<a name="move_def.ky.fly-2" class="tsd-anchor"></a>
|
|
425
|
-
<h3>fly</h3>
|
|
426
|
-
<div class="tsd-signature tsd-kind-icon">fly<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = [F]</span></div>
|
|
427
|
-
<aside class="tsd-sources">
|
|
428
|
-
<ul>
|
|
429
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L123">Constants.ts:123</a></li>
|
|
430
|
-
</ul>
|
|
431
|
-
</aside>
|
|
432
|
-
</section>
|
|
433
|
-
</section>
|
|
434
|
-
<section class="tsd-panel tsd-member tsd-kind-object-literal tsd-parent-kind-object-literal">
|
|
435
|
-
<a name="move_def.ou" class="tsd-anchor"></a>
|
|
436
|
-
<h3>OU</h3>
|
|
437
|
-
<div class="tsd-signature tsd-kind-icon">OU<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
|
|
438
|
-
<aside class="tsd-sources">
|
|
439
|
-
<ul>
|
|
440
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L133">Constants.ts:133</a></li>
|
|
441
|
-
</ul>
|
|
442
|
-
</aside>
|
|
443
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
444
|
-
<a name="move_def.ou.just-8" class="tsd-anchor"></a>
|
|
445
|
-
<h3>just</h3>
|
|
446
|
-
<div class="tsd-signature tsd-kind-icon">just<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = [FR, F, FL, R, L, BR, B, BL]</span></div>
|
|
447
|
-
<aside class="tsd-sources">
|
|
448
|
-
<ul>
|
|
449
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L133">Constants.ts:133</a></li>
|
|
450
|
-
</ul>
|
|
451
|
-
</aside>
|
|
452
|
-
</section>
|
|
453
|
-
</section>
|
|
454
|
-
<section class="tsd-panel tsd-member tsd-kind-object-literal tsd-parent-kind-object-literal">
|
|
455
|
-
<a name="move_def.ry" class="tsd-anchor"></a>
|
|
456
|
-
<h3>RY</h3>
|
|
457
|
-
<div class="tsd-signature tsd-kind-icon">RY<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
|
|
458
|
-
<aside class="tsd-sources">
|
|
459
|
-
<ul>
|
|
460
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L135">Constants.ts:135</a></li>
|
|
461
|
-
</ul>
|
|
462
|
-
</aside>
|
|
463
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
464
|
-
<a name="move_def.ry.fly-3" class="tsd-anchor"></a>
|
|
465
|
-
<h3>fly</h3>
|
|
466
|
-
<div class="tsd-signature tsd-kind-icon">fly<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = [F, R, L, B]</span></div>
|
|
467
|
-
<aside class="tsd-sources">
|
|
468
|
-
<ul>
|
|
469
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L135">Constants.ts:135</a></li>
|
|
470
|
-
</ul>
|
|
471
|
-
</aside>
|
|
472
|
-
</section>
|
|
473
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
474
|
-
<a name="move_def.ry.just-9" class="tsd-anchor"></a>
|
|
475
|
-
<h3>just</h3>
|
|
476
|
-
<div class="tsd-signature tsd-kind-icon">just<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = [FR, FL, BR, BL]</span></div>
|
|
477
|
-
<aside class="tsd-sources">
|
|
478
|
-
<ul>
|
|
479
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L135">Constants.ts:135</a></li>
|
|
480
|
-
</ul>
|
|
481
|
-
</aside>
|
|
482
|
-
</section>
|
|
483
|
-
</section>
|
|
484
|
-
<section class="tsd-panel tsd-member tsd-kind-object-literal tsd-parent-kind-object-literal">
|
|
485
|
-
<a name="move_def.um" class="tsd-anchor"></a>
|
|
486
|
-
<h3>UM</h3>
|
|
487
|
-
<div class="tsd-signature tsd-kind-icon">UM<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
|
|
488
|
-
<aside class="tsd-sources">
|
|
489
|
-
<ul>
|
|
490
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L134">Constants.ts:134</a></li>
|
|
491
|
-
</ul>
|
|
492
|
-
</aside>
|
|
493
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
494
|
-
<a name="move_def.um.fly-4" class="tsd-anchor"></a>
|
|
495
|
-
<h3>fly</h3>
|
|
496
|
-
<div class="tsd-signature tsd-kind-icon">fly<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = [FR, FL, BR, BL]</span></div>
|
|
497
|
-
<aside class="tsd-sources">
|
|
498
|
-
<ul>
|
|
499
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L134">Constants.ts:134</a></li>
|
|
500
|
-
</ul>
|
|
501
|
-
</aside>
|
|
502
|
-
</section>
|
|
503
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
504
|
-
<a name="move_def.um.just-10" class="tsd-anchor"></a>
|
|
505
|
-
<h3>just</h3>
|
|
506
|
-
<div class="tsd-signature tsd-kind-icon">just<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = [F, R, L, B]</span></div>
|
|
507
|
-
<aside class="tsd-sources">
|
|
508
|
-
<ul>
|
|
509
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L134">Constants.ts:134</a></li>
|
|
510
|
-
</ul>
|
|
511
|
-
</aside>
|
|
512
|
-
</section>
|
|
513
|
-
</section>
|
|
514
|
-
</section>
|
|
515
|
-
<section class="tsd-panel tsd-member tsd-kind-object-literal tsd-parent-kind-module">
|
|
516
|
-
<a name="preset" class="tsd-anchor"></a>
|
|
517
|
-
<h3><span class="tsd-flag ts-flagConst">Const</span> PRESET</h3>
|
|
518
|
-
<div class="tsd-signature tsd-kind-icon">PRESET<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
|
|
519
|
-
<aside class="tsd-sources">
|
|
520
|
-
<ul>
|
|
521
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L17">Constants.ts:17</a></li>
|
|
522
|
-
</ul>
|
|
523
|
-
</aside>
|
|
524
|
-
<div class="tsd-comment tsd-typography">
|
|
525
|
-
<div class="lead">
|
|
526
|
-
<p>既定の初期局面</p>
|
|
527
|
-
</div>
|
|
528
|
-
</div>
|
|
529
|
-
<section class="tsd-panel tsd-member tsd-kind-object-literal tsd-parent-kind-object-literal">
|
|
530
|
-
<a name="preset.10" class="tsd-anchor"></a>
|
|
531
|
-
<h3>10</h3>
|
|
532
|
-
<div class="tsd-signature tsd-kind-icon">10<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
|
|
533
|
-
<aside class="tsd-sources">
|
|
534
|
-
<ul>
|
|
535
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L102">Constants.ts:102</a></li>
|
|
536
|
-
</ul>
|
|
537
|
-
</aside>
|
|
538
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
539
|
-
<a name="preset.10.board" class="tsd-anchor"></a>
|
|
540
|
-
<h3>board</h3>
|
|
541
|
-
<div class="tsd-signature tsd-kind-icon">board<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = [" * * * * -OU * * * * ",].concat(BOARD2_9)</span></div>
|
|
542
|
-
<aside class="tsd-sources">
|
|
543
|
-
<ul>
|
|
544
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L103">Constants.ts:103</a></li>
|
|
545
|
-
</ul>
|
|
546
|
-
</aside>
|
|
547
|
-
</section>
|
|
548
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
549
|
-
<a name="preset.10.turn" class="tsd-anchor"></a>
|
|
550
|
-
<h3>turn</h3>
|
|
551
|
-
<div class="tsd-signature tsd-kind-icon">turn<span class="tsd-signature-symbol">:</span> <a href="../enums/_color_.color.html#white" class="tsd-signature-type">White</a><span class="tsd-signature-symbol"> = Color.White</span></div>
|
|
552
|
-
<aside class="tsd-sources">
|
|
553
|
-
<ul>
|
|
554
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L106">Constants.ts:106</a></li>
|
|
555
|
-
</ul>
|
|
556
|
-
</aside>
|
|
557
|
-
</section>
|
|
558
|
-
</section>
|
|
559
|
-
<section class="tsd-panel tsd-member tsd-kind-object-literal tsd-parent-kind-object-literal">
|
|
560
|
-
<a name="preset.2" class="tsd-anchor"></a>
|
|
561
|
-
<h3>2</h3>
|
|
562
|
-
<div class="tsd-signature tsd-kind-icon">2<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
|
|
563
|
-
<aside class="tsd-sources">
|
|
564
|
-
<ul>
|
|
565
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L60">Constants.ts:60</a></li>
|
|
566
|
-
</ul>
|
|
567
|
-
</aside>
|
|
568
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
569
|
-
<a name="preset.2.board-1" class="tsd-anchor"></a>
|
|
570
|
-
<h3>board</h3>
|
|
571
|
-
<div class="tsd-signature tsd-kind-icon">board<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = ["-KY-KE-GI-KI-OU-KI-GI-KE-KY",].concat(BOARD2_9)</span></div>
|
|
572
|
-
<aside class="tsd-sources">
|
|
573
|
-
<ul>
|
|
574
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L61">Constants.ts:61</a></li>
|
|
575
|
-
</ul>
|
|
576
|
-
</aside>
|
|
577
|
-
</section>
|
|
578
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
579
|
-
<a name="preset.2.turn-1" class="tsd-anchor"></a>
|
|
580
|
-
<h3>turn</h3>
|
|
581
|
-
<div class="tsd-signature tsd-kind-icon">turn<span class="tsd-signature-symbol">:</span> <a href="../enums/_color_.color.html#white" class="tsd-signature-type">White</a><span class="tsd-signature-symbol"> = Color.White</span></div>
|
|
582
|
-
<aside class="tsd-sources">
|
|
583
|
-
<ul>
|
|
584
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L64">Constants.ts:64</a></li>
|
|
585
|
-
</ul>
|
|
586
|
-
</aside>
|
|
587
|
-
</section>
|
|
588
|
-
</section>
|
|
589
|
-
<section class="tsd-panel tsd-member tsd-kind-object-literal tsd-parent-kind-object-literal">
|
|
590
|
-
<a name="preset.3" class="tsd-anchor"></a>
|
|
591
|
-
<h3>3</h3>
|
|
592
|
-
<div class="tsd-signature tsd-kind-icon">3<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
|
|
593
|
-
<aside class="tsd-sources">
|
|
594
|
-
<ul>
|
|
595
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L66">Constants.ts:66</a></li>
|
|
596
|
-
</ul>
|
|
597
|
-
</aside>
|
|
598
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
599
|
-
<a name="preset.3.board-2" class="tsd-anchor"></a>
|
|
600
|
-
<h3>board</h3>
|
|
601
|
-
<div class="tsd-signature tsd-kind-icon">board<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = ["-KY-KE-GI-KI-OU-KI-GI-KE * ",].concat(BOARD2_9)</span></div>
|
|
602
|
-
<aside class="tsd-sources">
|
|
603
|
-
<ul>
|
|
604
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L67">Constants.ts:67</a></li>
|
|
605
|
-
</ul>
|
|
606
|
-
</aside>
|
|
607
|
-
</section>
|
|
608
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
609
|
-
<a name="preset.3.turn-2" class="tsd-anchor"></a>
|
|
610
|
-
<h3>turn</h3>
|
|
611
|
-
<div class="tsd-signature tsd-kind-icon">turn<span class="tsd-signature-symbol">:</span> <a href="../enums/_color_.color.html#white" class="tsd-signature-type">White</a><span class="tsd-signature-symbol"> = Color.White</span></div>
|
|
612
|
-
<aside class="tsd-sources">
|
|
613
|
-
<ul>
|
|
614
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L70">Constants.ts:70</a></li>
|
|
615
|
-
</ul>
|
|
616
|
-
</aside>
|
|
617
|
-
</section>
|
|
618
|
-
</section>
|
|
619
|
-
<section class="tsd-panel tsd-member tsd-kind-object-literal tsd-parent-kind-object-literal">
|
|
620
|
-
<a name="preset.4" class="tsd-anchor"></a>
|
|
621
|
-
<h3>4</h3>
|
|
622
|
-
<div class="tsd-signature tsd-kind-icon">4<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
|
|
623
|
-
<aside class="tsd-sources">
|
|
624
|
-
<ul>
|
|
625
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L72">Constants.ts:72</a></li>
|
|
626
|
-
</ul>
|
|
627
|
-
</aside>
|
|
628
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
629
|
-
<a name="preset.4.board-3" class="tsd-anchor"></a>
|
|
630
|
-
<h3>board</h3>
|
|
631
|
-
<div class="tsd-signature tsd-kind-icon">board<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = [" * -KE-GI-KI-OU-KI-GI-KE * ",].concat(BOARD2_9)</span></div>
|
|
632
|
-
<aside class="tsd-sources">
|
|
633
|
-
<ul>
|
|
634
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L73">Constants.ts:73</a></li>
|
|
635
|
-
</ul>
|
|
636
|
-
</aside>
|
|
637
|
-
</section>
|
|
638
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
639
|
-
<a name="preset.4.turn-3" class="tsd-anchor"></a>
|
|
640
|
-
<h3>turn</h3>
|
|
641
|
-
<div class="tsd-signature tsd-kind-icon">turn<span class="tsd-signature-symbol">:</span> <a href="../enums/_color_.color.html#white" class="tsd-signature-type">White</a><span class="tsd-signature-symbol"> = Color.White</span></div>
|
|
642
|
-
<aside class="tsd-sources">
|
|
643
|
-
<ul>
|
|
644
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L76">Constants.ts:76</a></li>
|
|
645
|
-
</ul>
|
|
646
|
-
</aside>
|
|
647
|
-
</section>
|
|
648
|
-
</section>
|
|
649
|
-
<section class="tsd-panel tsd-member tsd-kind-object-literal tsd-parent-kind-object-literal">
|
|
650
|
-
<a name="preset.5" class="tsd-anchor"></a>
|
|
651
|
-
<h3>5</h3>
|
|
652
|
-
<div class="tsd-signature tsd-kind-icon">5<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
|
|
653
|
-
<aside class="tsd-sources">
|
|
654
|
-
<ul>
|
|
655
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L78">Constants.ts:78</a></li>
|
|
656
|
-
</ul>
|
|
657
|
-
</aside>
|
|
658
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
659
|
-
<a name="preset.5.board-4" class="tsd-anchor"></a>
|
|
660
|
-
<h3>board</h3>
|
|
661
|
-
<div class="tsd-signature tsd-kind-icon">board<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = [" * * -GI-KI-OU-KI-GI-KE * ",].concat(BOARD2_9)</span></div>
|
|
662
|
-
<aside class="tsd-sources">
|
|
663
|
-
<ul>
|
|
664
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L79">Constants.ts:79</a></li>
|
|
665
|
-
</ul>
|
|
666
|
-
</aside>
|
|
667
|
-
</section>
|
|
668
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
669
|
-
<a name="preset.5.turn-4" class="tsd-anchor"></a>
|
|
670
|
-
<h3>turn</h3>
|
|
671
|
-
<div class="tsd-signature tsd-kind-icon">turn<span class="tsd-signature-symbol">:</span> <a href="../enums/_color_.color.html#white" class="tsd-signature-type">White</a><span class="tsd-signature-symbol"> = Color.White</span></div>
|
|
672
|
-
<aside class="tsd-sources">
|
|
673
|
-
<ul>
|
|
674
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L82">Constants.ts:82</a></li>
|
|
675
|
-
</ul>
|
|
676
|
-
</aside>
|
|
677
|
-
</section>
|
|
678
|
-
</section>
|
|
679
|
-
<section class="tsd-panel tsd-member tsd-kind-object-literal tsd-parent-kind-object-literal">
|
|
680
|
-
<a name="preset.5_l" class="tsd-anchor"></a>
|
|
681
|
-
<h3>5_<wbr>L</h3>
|
|
682
|
-
<div class="tsd-signature tsd-kind-icon">5_<wbr>L<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
|
|
683
|
-
<aside class="tsd-sources">
|
|
684
|
-
<ul>
|
|
685
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L84">Constants.ts:84</a></li>
|
|
686
|
-
</ul>
|
|
687
|
-
</aside>
|
|
688
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
689
|
-
<a name="preset.5_l.board-5" class="tsd-anchor"></a>
|
|
690
|
-
<h3>board</h3>
|
|
691
|
-
<div class="tsd-signature tsd-kind-icon">board<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = [" * -KE-GI-KI-OU-KI-GI * * ",].concat(BOARD2_9)</span></div>
|
|
692
|
-
<aside class="tsd-sources">
|
|
693
|
-
<ul>
|
|
694
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L85">Constants.ts:85</a></li>
|
|
695
|
-
</ul>
|
|
696
|
-
</aside>
|
|
697
|
-
</section>
|
|
698
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
699
|
-
<a name="preset.5_l.turn-5" class="tsd-anchor"></a>
|
|
700
|
-
<h3>turn</h3>
|
|
701
|
-
<div class="tsd-signature tsd-kind-icon">turn<span class="tsd-signature-symbol">:</span> <a href="../enums/_color_.color.html#white" class="tsd-signature-type">White</a><span class="tsd-signature-symbol"> = Color.White</span></div>
|
|
702
|
-
<aside class="tsd-sources">
|
|
703
|
-
<ul>
|
|
704
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L88">Constants.ts:88</a></li>
|
|
705
|
-
</ul>
|
|
706
|
-
</aside>
|
|
707
|
-
</section>
|
|
708
|
-
</section>
|
|
709
|
-
<section class="tsd-panel tsd-member tsd-kind-object-literal tsd-parent-kind-object-literal">
|
|
710
|
-
<a name="preset.6" class="tsd-anchor"></a>
|
|
711
|
-
<h3>6</h3>
|
|
712
|
-
<div class="tsd-signature tsd-kind-icon">6<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
|
|
713
|
-
<aside class="tsd-sources">
|
|
714
|
-
<ul>
|
|
715
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L90">Constants.ts:90</a></li>
|
|
716
|
-
</ul>
|
|
717
|
-
</aside>
|
|
718
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
719
|
-
<a name="preset.6.board-6" class="tsd-anchor"></a>
|
|
720
|
-
<h3>board</h3>
|
|
721
|
-
<div class="tsd-signature tsd-kind-icon">board<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = [" * * -GI-KI-OU-KI-GI * * ",].concat(BOARD2_9)</span></div>
|
|
722
|
-
<aside class="tsd-sources">
|
|
723
|
-
<ul>
|
|
724
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L91">Constants.ts:91</a></li>
|
|
725
|
-
</ul>
|
|
726
|
-
</aside>
|
|
727
|
-
</section>
|
|
728
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
729
|
-
<a name="preset.6.turn-6" class="tsd-anchor"></a>
|
|
730
|
-
<h3>turn</h3>
|
|
731
|
-
<div class="tsd-signature tsd-kind-icon">turn<span class="tsd-signature-symbol">:</span> <a href="../enums/_color_.color.html#white" class="tsd-signature-type">White</a><span class="tsd-signature-symbol"> = Color.White</span></div>
|
|
732
|
-
<aside class="tsd-sources">
|
|
733
|
-
<ul>
|
|
734
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L94">Constants.ts:94</a></li>
|
|
735
|
-
</ul>
|
|
736
|
-
</aside>
|
|
737
|
-
</section>
|
|
738
|
-
</section>
|
|
739
|
-
<section class="tsd-panel tsd-member tsd-kind-object-literal tsd-parent-kind-object-literal">
|
|
740
|
-
<a name="preset.8" class="tsd-anchor"></a>
|
|
741
|
-
<h3>8</h3>
|
|
742
|
-
<div class="tsd-signature tsd-kind-icon">8<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
|
|
743
|
-
<aside class="tsd-sources">
|
|
744
|
-
<ul>
|
|
745
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L96">Constants.ts:96</a></li>
|
|
746
|
-
</ul>
|
|
747
|
-
</aside>
|
|
748
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
749
|
-
<a name="preset.8.board-7" class="tsd-anchor"></a>
|
|
750
|
-
<h3>board</h3>
|
|
751
|
-
<div class="tsd-signature tsd-kind-icon">board<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = [" * * * -KI-OU-KI * * * ",].concat(BOARD2_9)</span></div>
|
|
752
|
-
<aside class="tsd-sources">
|
|
753
|
-
<ul>
|
|
754
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L97">Constants.ts:97</a></li>
|
|
755
|
-
</ul>
|
|
756
|
-
</aside>
|
|
757
|
-
</section>
|
|
758
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
759
|
-
<a name="preset.8.turn-7" class="tsd-anchor"></a>
|
|
760
|
-
<h3>turn</h3>
|
|
761
|
-
<div class="tsd-signature tsd-kind-icon">turn<span class="tsd-signature-symbol">:</span> <a href="../enums/_color_.color.html#white" class="tsd-signature-type">White</a><span class="tsd-signature-symbol"> = Color.White</span></div>
|
|
762
|
-
<aside class="tsd-sources">
|
|
763
|
-
<ul>
|
|
764
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L100">Constants.ts:100</a></li>
|
|
765
|
-
</ul>
|
|
766
|
-
</aside>
|
|
767
|
-
</section>
|
|
768
|
-
</section>
|
|
769
|
-
<section class="tsd-panel tsd-member tsd-kind-object-literal tsd-parent-kind-object-literal">
|
|
770
|
-
<a name="preset.hi-1" class="tsd-anchor"></a>
|
|
771
|
-
<h3>HI</h3>
|
|
772
|
-
<div class="tsd-signature tsd-kind-icon">HI<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
|
|
773
|
-
<aside class="tsd-sources">
|
|
774
|
-
<ul>
|
|
775
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L46">Constants.ts:46</a></li>
|
|
776
|
-
</ul>
|
|
777
|
-
</aside>
|
|
778
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
779
|
-
<a name="preset.hi-1.board-8" class="tsd-anchor"></a>
|
|
780
|
-
<h3>board</h3>
|
|
781
|
-
<div class="tsd-signature tsd-kind-icon">board<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = ["-KY-KE-GI-KI-OU-KI-GI-KE-KY"," * * * * * * * -KA * ",].concat(BOARD3_9)</span></div>
|
|
782
|
-
<aside class="tsd-sources">
|
|
783
|
-
<ul>
|
|
784
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L47">Constants.ts:47</a></li>
|
|
785
|
-
</ul>
|
|
786
|
-
</aside>
|
|
787
|
-
</section>
|
|
788
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
789
|
-
<a name="preset.hi-1.turn-8" class="tsd-anchor"></a>
|
|
790
|
-
<h3>turn</h3>
|
|
791
|
-
<div class="tsd-signature tsd-kind-icon">turn<span class="tsd-signature-symbol">:</span> <a href="../enums/_color_.color.html#white" class="tsd-signature-type">White</a><span class="tsd-signature-symbol"> = Color.White</span></div>
|
|
792
|
-
<aside class="tsd-sources">
|
|
793
|
-
<ul>
|
|
794
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L51">Constants.ts:51</a></li>
|
|
795
|
-
</ul>
|
|
796
|
-
</aside>
|
|
797
|
-
</section>
|
|
798
|
-
</section>
|
|
799
|
-
<section class="tsd-panel tsd-member tsd-kind-object-literal tsd-parent-kind-object-literal">
|
|
800
|
-
<a name="preset.hiky" class="tsd-anchor"></a>
|
|
801
|
-
<h3>HIKY</h3>
|
|
802
|
-
<div class="tsd-signature tsd-kind-icon">HIKY<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
|
|
803
|
-
<aside class="tsd-sources">
|
|
804
|
-
<ul>
|
|
805
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L53">Constants.ts:53</a></li>
|
|
806
|
-
</ul>
|
|
807
|
-
</aside>
|
|
808
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
809
|
-
<a name="preset.hiky.board-9" class="tsd-anchor"></a>
|
|
810
|
-
<h3>board</h3>
|
|
811
|
-
<div class="tsd-signature tsd-kind-icon">board<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = ["-KY-KE-GI-KI-OU-KI-GI-KE * "," * * * * * * * -KA * ",].concat(BOARD3_9)</span></div>
|
|
812
|
-
<aside class="tsd-sources">
|
|
813
|
-
<ul>
|
|
814
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L54">Constants.ts:54</a></li>
|
|
815
|
-
</ul>
|
|
816
|
-
</aside>
|
|
817
|
-
</section>
|
|
818
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
819
|
-
<a name="preset.hiky.turn-9" class="tsd-anchor"></a>
|
|
820
|
-
<h3>turn</h3>
|
|
821
|
-
<div class="tsd-signature tsd-kind-icon">turn<span class="tsd-signature-symbol">:</span> <a href="../enums/_color_.color.html#white" class="tsd-signature-type">White</a><span class="tsd-signature-symbol"> = Color.White</span></div>
|
|
822
|
-
<aside class="tsd-sources">
|
|
823
|
-
<ul>
|
|
824
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L58">Constants.ts:58</a></li>
|
|
825
|
-
</ul>
|
|
826
|
-
</aside>
|
|
827
|
-
</section>
|
|
828
|
-
</section>
|
|
829
|
-
<section class="tsd-panel tsd-member tsd-kind-object-literal tsd-parent-kind-object-literal">
|
|
830
|
-
<a name="preset.hirate" class="tsd-anchor"></a>
|
|
831
|
-
<h3>HIRATE</h3>
|
|
832
|
-
<div class="tsd-signature tsd-kind-icon">HIRATE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
|
|
833
|
-
<aside class="tsd-sources">
|
|
834
|
-
<ul>
|
|
835
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L18">Constants.ts:18</a></li>
|
|
836
|
-
</ul>
|
|
837
|
-
</aside>
|
|
838
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
839
|
-
<a name="preset.hirate.board-10" class="tsd-anchor"></a>
|
|
840
|
-
<h3>board</h3>
|
|
841
|
-
<div class="tsd-signature tsd-kind-icon">board<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = ["-KY-KE-GI-KI-OU-KI-GI-KE-KY"," * -HI * * * * * -KA * ",].concat(BOARD3_9)</span></div>
|
|
842
|
-
<aside class="tsd-sources">
|
|
843
|
-
<ul>
|
|
844
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L19">Constants.ts:19</a></li>
|
|
845
|
-
</ul>
|
|
846
|
-
</aside>
|
|
847
|
-
</section>
|
|
848
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
849
|
-
<a name="preset.hirate.turn-10" class="tsd-anchor"></a>
|
|
850
|
-
<h3>turn</h3>
|
|
851
|
-
<div class="tsd-signature tsd-kind-icon">turn<span class="tsd-signature-symbol">:</span> <a href="../enums/_color_.color.html#black" class="tsd-signature-type">Black</a><span class="tsd-signature-symbol"> = Color.Black</span></div>
|
|
852
|
-
<aside class="tsd-sources">
|
|
853
|
-
<ul>
|
|
854
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L23">Constants.ts:23</a></li>
|
|
855
|
-
</ul>
|
|
856
|
-
</aside>
|
|
857
|
-
</section>
|
|
858
|
-
</section>
|
|
859
|
-
<section class="tsd-panel tsd-member tsd-kind-object-literal tsd-parent-kind-object-literal">
|
|
860
|
-
<a name="preset.ka-1" class="tsd-anchor"></a>
|
|
861
|
-
<h3>KA</h3>
|
|
862
|
-
<div class="tsd-signature tsd-kind-icon">KA<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
|
|
863
|
-
<aside class="tsd-sources">
|
|
864
|
-
<ul>
|
|
865
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L39">Constants.ts:39</a></li>
|
|
866
|
-
</ul>
|
|
867
|
-
</aside>
|
|
868
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
869
|
-
<a name="preset.ka-1.board-11" class="tsd-anchor"></a>
|
|
870
|
-
<h3>board</h3>
|
|
871
|
-
<div class="tsd-signature tsd-kind-icon">board<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = ["-KY-KE-GI-KI-OU-KI-GI-KE-KY"," * -HI * * * * * * * ",].concat(BOARD3_9)</span></div>
|
|
872
|
-
<aside class="tsd-sources">
|
|
873
|
-
<ul>
|
|
874
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L40">Constants.ts:40</a></li>
|
|
875
|
-
</ul>
|
|
876
|
-
</aside>
|
|
877
|
-
</section>
|
|
878
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
879
|
-
<a name="preset.ka-1.turn-11" class="tsd-anchor"></a>
|
|
880
|
-
<h3>turn</h3>
|
|
881
|
-
<div class="tsd-signature tsd-kind-icon">turn<span class="tsd-signature-symbol">:</span> <a href="../enums/_color_.color.html#white" class="tsd-signature-type">White</a><span class="tsd-signature-symbol"> = Color.White</span></div>
|
|
882
|
-
<aside class="tsd-sources">
|
|
883
|
-
<ul>
|
|
884
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L44">Constants.ts:44</a></li>
|
|
885
|
-
</ul>
|
|
886
|
-
</aside>
|
|
887
|
-
</section>
|
|
888
|
-
</section>
|
|
889
|
-
<section class="tsd-panel tsd-member tsd-kind-object-literal tsd-parent-kind-object-literal">
|
|
890
|
-
<a name="preset.ky-1" class="tsd-anchor"></a>
|
|
891
|
-
<h3>KY</h3>
|
|
892
|
-
<div class="tsd-signature tsd-kind-icon">KY<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
|
|
893
|
-
<aside class="tsd-sources">
|
|
894
|
-
<ul>
|
|
895
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L25">Constants.ts:25</a></li>
|
|
896
|
-
</ul>
|
|
897
|
-
</aside>
|
|
898
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
899
|
-
<a name="preset.ky-1.board-12" class="tsd-anchor"></a>
|
|
900
|
-
<h3>board</h3>
|
|
901
|
-
<div class="tsd-signature tsd-kind-icon">board<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = ["-KY-KE-GI-KI-OU-KI-GI-KE * "," * -HI * * * * * -KA * ",].concat(BOARD3_9)</span></div>
|
|
902
|
-
<aside class="tsd-sources">
|
|
903
|
-
<ul>
|
|
904
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L26">Constants.ts:26</a></li>
|
|
905
|
-
</ul>
|
|
906
|
-
</aside>
|
|
907
|
-
</section>
|
|
908
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
909
|
-
<a name="preset.ky-1.turn-12" class="tsd-anchor"></a>
|
|
910
|
-
<h3>turn</h3>
|
|
911
|
-
<div class="tsd-signature tsd-kind-icon">turn<span class="tsd-signature-symbol">:</span> <a href="../enums/_color_.color.html#white" class="tsd-signature-type">White</a><span class="tsd-signature-symbol"> = Color.White</span></div>
|
|
912
|
-
<aside class="tsd-sources">
|
|
913
|
-
<ul>
|
|
914
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L30">Constants.ts:30</a></li>
|
|
915
|
-
</ul>
|
|
916
|
-
</aside>
|
|
917
|
-
</section>
|
|
918
|
-
</section>
|
|
919
|
-
<section class="tsd-panel tsd-member tsd-kind-object-literal tsd-parent-kind-object-literal">
|
|
920
|
-
<a name="preset.ky_r" class="tsd-anchor"></a>
|
|
921
|
-
<h3>KY_<wbr>R</h3>
|
|
922
|
-
<div class="tsd-signature tsd-kind-icon">KY_<wbr>R<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
|
|
923
|
-
<aside class="tsd-sources">
|
|
924
|
-
<ul>
|
|
925
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L32">Constants.ts:32</a></li>
|
|
926
|
-
</ul>
|
|
927
|
-
</aside>
|
|
928
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
929
|
-
<a name="preset.ky_r.board-13" class="tsd-anchor"></a>
|
|
930
|
-
<h3>board</h3>
|
|
931
|
-
<div class="tsd-signature tsd-kind-icon">board<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = [" * -KE-GI-KI-OU-KI-GI-KE-KY"," * -HI * * * * * -KA * ",].concat(BOARD3_9)</span></div>
|
|
932
|
-
<aside class="tsd-sources">
|
|
933
|
-
<ul>
|
|
934
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L33">Constants.ts:33</a></li>
|
|
935
|
-
</ul>
|
|
936
|
-
</aside>
|
|
937
|
-
</section>
|
|
938
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
|
|
939
|
-
<a name="preset.ky_r.turn-13" class="tsd-anchor"></a>
|
|
940
|
-
<h3>turn</h3>
|
|
941
|
-
<div class="tsd-signature tsd-kind-icon">turn<span class="tsd-signature-symbol">:</span> <a href="../enums/_color_.color.html#white" class="tsd-signature-type">White</a><span class="tsd-signature-symbol"> = Color.White</span></div>
|
|
942
|
-
<aside class="tsd-sources">
|
|
943
|
-
<ul>
|
|
944
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L37">Constants.ts:37</a></li>
|
|
945
|
-
</ul>
|
|
946
|
-
</aside>
|
|
947
|
-
</section>
|
|
948
|
-
</section>
|
|
949
|
-
</section>
|
|
950
|
-
<section class="tsd-panel tsd-member tsd-kind-object-literal tsd-parent-kind-module tsd-is-not-exported">
|
|
951
|
-
<a name="kin" class="tsd-anchor"></a>
|
|
952
|
-
<h3><span class="tsd-flag ts-flagConst">Const</span> kin</h3>
|
|
953
|
-
<div class="tsd-signature tsd-kind-icon">kin<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
|
|
954
|
-
<aside class="tsd-sources">
|
|
955
|
-
<ul>
|
|
956
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L119">Constants.ts:119</a></li>
|
|
957
|
-
</ul>
|
|
958
|
-
</aside>
|
|
959
|
-
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal tsd-is-not-exported">
|
|
960
|
-
<a name="kin.just-11" class="tsd-anchor"></a>
|
|
961
|
-
<h3>just</h3>
|
|
962
|
-
<div class="tsd-signature tsd-kind-icon">just<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = [FR, F, FL, R, L, B]</span></div>
|
|
963
|
-
<aside class="tsd-sources">
|
|
964
|
-
<ul>
|
|
965
|
-
<li>Defined in <a href="https://github.com/na2hiro/Shogi.js/blob/24e2fd0/src/Constants.ts#L119">Constants.ts:119</a></li>
|
|
966
|
-
</ul>
|
|
967
|
-
</aside>
|
|
968
|
-
</section>
|
|
969
|
-
</section>
|
|
970
|
-
</section>
|
|
971
|
-
</div>
|
|
972
|
-
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
973
|
-
<nav class="tsd-navigation primary">
|
|
974
|
-
<ul>
|
|
975
|
-
<li class="globals ">
|
|
976
|
-
<a href="../globals.html"><em>Globals</em></a>
|
|
977
|
-
</li>
|
|
978
|
-
<li class=" tsd-kind-module">
|
|
979
|
-
<a href="_color_.html">"<wbr>Color"</a>
|
|
980
|
-
</li>
|
|
981
|
-
<li class="current tsd-kind-module">
|
|
982
|
-
<a href="_constants_.html">"<wbr>Constants"</a>
|
|
983
|
-
</li>
|
|
984
|
-
<li class=" tsd-kind-module">
|
|
985
|
-
<a href="_imovedefinition_.html">"IMove<wbr>Definition"</a>
|
|
986
|
-
</li>
|
|
987
|
-
<li class=" tsd-kind-module">
|
|
988
|
-
<a href="_piece_.html">"<wbr>Piece"</a>
|
|
989
|
-
</li>
|
|
990
|
-
<li class=" tsd-kind-module">
|
|
991
|
-
<a href="_serialization_.html">"<wbr>Serialization"</a>
|
|
992
|
-
</li>
|
|
993
|
-
<li class=" tsd-kind-module">
|
|
994
|
-
<a href="_shogi_.html">"shogi"</a>
|
|
995
|
-
</li>
|
|
996
|
-
</ul>
|
|
997
|
-
</nav>
|
|
998
|
-
<nav class="tsd-navigation secondary menu-sticky">
|
|
999
|
-
<ul class="before-current">
|
|
1000
|
-
<li class=" tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
|
|
1001
|
-
<a href="_constants_.html#b" class="tsd-kind-icon">B</a>
|
|
1002
|
-
</li>
|
|
1003
|
-
<li class=" tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
|
|
1004
|
-
<a href="_constants_.html#bl" class="tsd-kind-icon">BL</a>
|
|
1005
|
-
</li>
|
|
1006
|
-
<li class=" tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
|
|
1007
|
-
<a href="_constants_.html#board2_9" class="tsd-kind-icon">BOARD2_<wbr>9</a>
|
|
1008
|
-
</li>
|
|
1009
|
-
<li class=" tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
|
|
1010
|
-
<a href="_constants_.html#board3_9" class="tsd-kind-icon">BOARD3_<wbr>9</a>
|
|
1011
|
-
</li>
|
|
1012
|
-
<li class=" tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
|
|
1013
|
-
<a href="_constants_.html#br" class="tsd-kind-icon">BR</a>
|
|
1014
|
-
</li>
|
|
1015
|
-
<li class=" tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
|
|
1016
|
-
<a href="_constants_.html#empty" class="tsd-kind-icon">EMPTY</a>
|
|
1017
|
-
</li>
|
|
1018
|
-
<li class=" tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
|
|
1019
|
-
<a href="_constants_.html#f" class="tsd-kind-icon">F</a>
|
|
1020
|
-
</li>
|
|
1021
|
-
<li class=" tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
|
|
1022
|
-
<a href="_constants_.html#fl" class="tsd-kind-icon">FL</a>
|
|
1023
|
-
</li>
|
|
1024
|
-
<li class=" tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
|
|
1025
|
-
<a href="_constants_.html#fr" class="tsd-kind-icon">FR</a>
|
|
1026
|
-
</li>
|
|
1027
|
-
<li class=" tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
|
|
1028
|
-
<a href="_constants_.html#l" class="tsd-kind-icon">L</a>
|
|
1029
|
-
</li>
|
|
1030
|
-
<li class=" tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
|
|
1031
|
-
<a href="_constants_.html#r" class="tsd-kind-icon">R</a>
|
|
1032
|
-
</li>
|
|
1033
|
-
<li class=" tsd-kind-object-literal tsd-parent-kind-module">
|
|
1034
|
-
<a href="_constants_.html#move_def" class="tsd-kind-icon">MOVE_<wbr>DEF</a>
|
|
1035
|
-
</li>
|
|
1036
|
-
<li class=" tsd-kind-object-literal tsd-parent-kind-module">
|
|
1037
|
-
<a href="_constants_.html#preset" class="tsd-kind-icon">PRESET</a>
|
|
1038
|
-
</li>
|
|
1039
|
-
<li class=" tsd-kind-object-literal tsd-parent-kind-module tsd-is-not-exported">
|
|
1040
|
-
<a href="_constants_.html#kin" class="tsd-kind-icon">kin</a>
|
|
1041
|
-
</li>
|
|
1042
|
-
</ul>
|
|
1043
|
-
</nav>
|
|
1044
|
-
</div>
|
|
1045
|
-
</div>
|
|
1046
|
-
</div>
|
|
1047
|
-
<footer class="with-border-bottom">
|
|
1048
|
-
<div class="container">
|
|
1049
|
-
<h2>Legend</h2>
|
|
1050
|
-
<div class="tsd-legend-group">
|
|
1051
|
-
<ul class="tsd-legend">
|
|
1052
|
-
<li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object literal</span></li>
|
|
1053
|
-
<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
|
|
1054
|
-
<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
|
|
1055
|
-
</ul>
|
|
1056
|
-
<ul class="tsd-legend">
|
|
1057
|
-
<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
|
|
1058
|
-
</ul>
|
|
1059
|
-
<ul class="tsd-legend">
|
|
1060
|
-
<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
|
|
1061
|
-
</ul>
|
|
1062
|
-
<ul class="tsd-legend">
|
|
1063
|
-
<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
|
|
1064
|
-
</ul>
|
|
1065
|
-
</div>
|
|
1066
|
-
</div>
|
|
1067
|
-
</footer>
|
|
1068
|
-
<div class="container tsd-generator">
|
|
1069
|
-
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
|
|
1070
|
-
</div>
|
|
1071
|
-
<div class="overlay"></div>
|
|
1072
|
-
<script src="../assets/js/main.js"></script>
|
|
1073
|
-
</body>
|
|
1074
|
-
</html>
|