Preparing search index...
The search index is not available
Kokopu documentation
Kokopu
GameResult
Type Alias GameResult
Game
Result
:
|
"1-0"
|
"1/2-1/2"
|
"0-1"
|
"*"
Result of a chess game.
'1-0'
(white wins),
'1/2-1/2'
(draw),
'0-1'
(black wins),
'*'
(unfinished game, or undefined result).
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Kokopu - v4.11.2
ChangeLog
Migration guides
Migrate to 3.x
Migrate to 4.x
Tutorials
Getting started
Set-up a position
Load a PGN file
Set-up a game from scratch
Game/JSON conversion
Chess960
exception
IllegalArgument
InvalidFEN
InvalidNotation
InvalidPGN
InvalidPOJO
i18n
CAPTURE_IS_MANDATORY
CASTLING_MOVE_ENCODED_WITH_ZERO
ILLEGAL_KING_SIDE_CASTLING
ILLEGAL_NO_KING_CASTLING
ILLEGAL_NULL_MOVE
ILLEGAL_POSITION
ILLEGAL_PROMOTION
ILLEGAL_QUEEN_SIDE_CASTLING
ILLEGAL_UCI_MOVE
INEFFECTIVE_EN_PASSANT_FIELD
INVALID_CAPTURE_SYMBOL
INVALID_CAPTURING_PAWN_MOVE
INVALID_CASTLING_FIELD
INVALID_DATE_IN_POJO
INVALID_ECO_CODE_IN_POJO
INVALID_ELO_IN_POJO
INVALID_EN_PASSANT_FIELD
INVALID_FEN_IN_PGN_TEXT
INVALID_FEN_IN_POJO
INVALID_GAME_INDEX
INVALID_HALF_MOVE_COUNT_FIELD
INVALID_MOVE_IN_PGN_TEXT
INVALID_MOVE_IN_POJO
INVALID_MOVE_NOTATION_SYNTAX
INVALID_MOVE_NUMBER_FIELD
INVALID_NAG_IN_POJO
INVALID_NON_CAPTURING_PAWN_MOVE
INVALID_OR_MISSING_NODE_ARRAY
INVALID_OR_MISSING_NOTATION_FIELD
INVALID_PGN_TOKEN
INVALID_PIECE_SYMBOL
INVALID_PIECE_SYMBOL_COLOR
INVALID_POJO_ARRAY_FIELD
INVALID_POJO_BOOLEAN_FIELD
INVALID_POJO_NUMBER_FIELD
INVALID_POJO_OBJECT_FIELD
INVALID_POJO_STRING_FIELD
INVALID_PROMOTED_PIECE
INVALID_RESULT_IN_POJO
INVALID_ROUND_IN_POJO
INVALID_TAG_IN_POJO
INVALID_TURN_FIELD
INVALID_UCI_NOTATION_SYNTAX
INVALID_VARIANT_IN_POJO
INVALID_VARIANT_PREFIX
MISSING_CAPTURE_SYMBOL
MISSING_END_OF_PGN_HEADER
MISSING_INITIAL_POSITION_IN_POJO
MISSING_PGN_HEADER_ID
MISSING_PGN_HEADER_VALUE
MISSING_PROMOTION
MISSING_PROMOTION_SYMBOL
NOT_A_NODE_POJO
NOT_A_VARIATION_POJO
NOT_SAFE_FOR_BLACK_KING
NOT_SAFE_FOR_WHITE_KING
NO_PIECE_CAN_MOVE_TO
NO_PIECE_CAN_MOVE_TO_DISAMBIGUATION
POJO_MUST_BE_AN_OBJECT
REQUIRE_DISAMBIGUATION
TRYING_TO_CAPTURE_YOUR_OWN_PIECES
UNEXPECTED_BEGIN_OF_VARIATION
UNEXPECTED_CHARACTER_IN_BOARD_FIELD
UNEXPECTED_END_OF_GAME
UNEXPECTED_END_OF_SUBFIELD_IN_BOARD_FIELD
UNEXPECTED_END_OF_VARIATION
UNEXPECTED_PGN_HEADER
UNKNOWN_VARIANT
VARIANT_WITHOUT_FEN
WRONG_CHECK_CHECKMATE_SYMBOL
WRONG_DISAMBIGUATION_SYMBOL
WRONG_NUMBER_OF_FEN_FIELDS
WRONG_NUMBER_OF_SUBFIELDS_IN_BOARD_FIELD
WRONG_RANK_IN_EN_PASSANT_FIELD
AbstractNode
Database
DateValue
Game
MoveDescriptor
Node
Position
Variation
PGNWriteOptions
AbstractNodePOJO
Castle
Castle960
Color
ColoredPiece
Coordinates
File
GamePOJO
GameResult
GameVariant
NodePOJO
Piece
PlayerPOJO
PromotionMoveFactory
Rank
RegularMoveFactory
Square
SquareCouple
VariationPOJO
coordinatesToSquare
forEachSquare
isCastle
isCastle960
isColor
isColoredPiece
isFile
isGameResult
isGameVariant
isMoveDescriptor
isPiece
isRank
isSquare
isSquareCouple
isValidECO
nagSymbol
oppositeColor
pgnRead
pgnWrite
squareColor
squareToCoordinates
variantWithCanonicalStartPosition
"
"
Result of a chess game.
'1-0'
(white wins),'1/2-1/2'
(draw),'0-1'
(black wins),'*'
(unfinished game, or undefined result).