Constructor
new PlayController(engine, controller, mainTime, byoyomi, fisherRule, mode, ponder, isSelfPlay)
Parameters:
Name |
Type |
Description |
engine |
AZjsEngine
|
|
controller |
BoardController
|
|
mainTime |
number
|
|
byoyomi |
number
|
|
fisherRule |
bool
|
|
mode |
string
|
'best': 手の選択がbestでかつponder on, 'standard': 手の選択がbestでかつponder off, 'reception': 手の選択が接待でかつponder off |
ponder |
bool
|
|
isSelfPlay |
bool
|
|
- Source:
Classes
- PlayController
Methods
setIsSelfPlay(isSelfPlay)
AI同士のセルフプレイかどうかを設定します。
Parameters:
Name |
Type |
Description |
isSelfPlay |
*
|
|
- Source:
(async) update(coord)
BoardControllerのオブザーバーになるためのメソッド
Parameters:
Name |
Type |
Description |
coord |
JGO.Coordinate
|
|
- Source: