Preparing search index...
The search index is not available
Kokopu documentation
Kokopu - v4.8.0
pgnWrite
Function pgnWrite
pgn
Write
(
game
:
Game
, options
?:
PGNWriteOptions
)
:
string
PGN writing function.
Parameters
game:
Game
Optional
options:
PGNWriteOptions
Returns
string
pgn
Write
(
games
:
Game
[]
, options
?:
PGNWriteOptions
)
:
string
PGN writing function.
Parameters
games:
Game
[]
Games to write.
Optional
options:
PGNWriteOptions
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Modules
Kokopu -
v4.8.0
Migrate to 3.x
Migrate to 4.x
Tutorials & examples
Getting started
Set-
up a position
Load a PGN file
Set-
up a game from scratch
Game/JSON conversion
Chess960
exception
i18n
Abstract
Node
Database
Date
Value
Game
Move
Descriptor
Node
Position
Variation
PGNWrite
Options
Abstract
NodePOJO
Castle
Castle960
Color
Colored
Piece
Coordinates
File
GamePOJO
Game
Result
Game
Variant
NodePOJO
Piece
PlayerPOJO
Promotion
Move
Factory
Rank
Regular
Move
Factory
Square
Square
Couple
VariationPOJO
coordinates
To
Square
for
Each
Square
is
Castle
is
Castle960
is
Color
is
Colored
Piece
is
File
is
Game
Result
is
Game
Variant
is
Move
Descriptor
is
Piece
is
Rank
is
Square
is
Square
Couple
is
ValidECO
nag
Symbol
opposite
Color
pgn
Read
pgn
Write
square
Color
square
To
Coordinates
variant
With
Canonical
Start
Position
Generated using
TypeDoc
PGN writing function.