Optional
preloaded_data: JGOF | AdHocFormatProtected
__board_Private
__borders_Protected
Optional
__clock_Protected
__draw_Protected
__last_Private
__set_Private
__set_Protected
__update_Protected
analysis_Protected
analysis_Protected
Optional
analysis_Private
autoplaying_Private
boardProtected
bounded_Protected
bounded_Protected
boundsPrivate
byoyomi_Protected
Optional
colored_Protected
conditional_Protected
Optional
connectPrivate
ctxProtected
Optional
current_Private
Optional
current_Protected
currently_Protected
dirty_Protected
disconnectedProtected
Optional
display_Protected
done_Protected
dont_Private
drawing_Protected
Optional
edit_Protected
errorReadonly
game_Protected
game_Protected
Optional
getReadonly
goban_Base fields *
Private
handleProtected
Optional
heatmapProtected
highlight_Protected
interactiveProtected
isProtected
isProtected
isProtected
label_Protected
label_Private
Optional
labeling_Optional
last_Optional
last_Protected
Optional
last_Private
last_Protected
Optional
last_Private
last_Protected
last_Protected
last_Private
Optional
last_Protected
Optional
last_Protected
last_Protected
Optional
last_Protected
last_Protected
leaveProtected
Optional
marked_Private
Optional
message_Private
Optional
message_Private
Optional
message_Private
Optional
message_Protected
metricsProtected
Optional
move_Private
Optional
move_Optional
move_Private
Optional
move_Protected
no_Protected
Optional
onProtected
on_Protected
original_Optional
pause_Optional
paused_Private
Optional
pen_Private
Optional
pen_Protected
player_Protected
Optional
preloaded_Protected
puzzle_Private
ready_Protected
restrict_Protected
review_Readonly
review_Protected
scoring_Protected
Optional
sendPrivate
Optional
shadow_Private
Optional
shadow_Protected
shift_Protected
show_Protected
socketProtected
socket_Optional
stalling_Protected
stone_Protected
Optional
stone_Private
theme_Private
theme_Private
theme_Private
theme_Private
theme_Private
theme_Private
theme_Private
theme_Private
theme_Private
theme_Private
theme_Private
theme_Private
theme_Private
themesProtected
Optional
title_Static
THEMESStatic
THEMES_Static
setSet's callback functions to be called in various situations. You can set any or all of the callbacks, only the provided callbacks will be updated.
Static
setTrue if the game is a game record of a real life game
Private
__drawProtected
_socket_Protected
annulPrivate
attachPrivate
attachPrivate
bindProtected
clearProtected
clearProtected
computeProtected
computeProtected
connectDecodes any of the various ways we express moves that we've accumulated over the years into
a unified JGOFMove[]
.
Protected
defaultPrivate
detachPrivate
detachProtected
disableProtected
disconnectPrivate
drawingOptional
isTrunkMove: booleanProtected
enableProtected
followProtected
getProtected
getProtected
getProtected
getProtected
getProtected
getProtected
getProtected
getProtected
getProtected
getProtected
incrementProtected
isProtected
onProtected
onProtected
onPrivate
onPrivate
onPrivate
onPrivate
onPrivate
onPrivate
onPrivate
onPrivate
pen2xyProtected
playProtected
post_Goban calls some abstract methods as part of the construction process. Because our subclasses might (and do) need to do some of their own config before these are called, we set this function to be called by our subclass after it's done it's own internal config stuff.
Encodes an x,y pair or a move object like {x: 0, y: 0} into a move string like "A1"
Protected
putProtected
putProtected
putProtected
scheduleProtected
sendOptional
cb: (() => void)Protected
sendCalled by engine when a location has been set to a color.
Optional
circles: ColoredCircle[]Optional
dont_draw: booleanOptional
conditional_tree: ConditionalMoveTreeOptional
heatmap: NumberMatrixOptional
dont_draw: booleanProtected
setProtected
setProtected
setProtected
setThis is a callback that gets called by GobanEngine.getState to save and board state as it pushes and pops state. Our renderers can override this to save state they need.
Optional
dont_draw: booleanOptional
dont_jump_to_official_move: booleanPrivate
setProtected
setProtected
setProtected
setProtected
setOptional
parameters: { Optional
msg_override: ReviewMessageOptional
node_text: stringProtected
toggleProtected
updateProtected
updateProtected
watchProtected
xy2ijPrivate
xy2penStatic
getCDNReleaseStatic
getStatic
getStatic
get
Goban serves as a base class for our renderers as well as a namespace for various classes, types, and enums.
You can't create an instance of a Goban directly, you have to create an instance of one of the renderers, such as GobanSVG.