@echecs/pgn 2.1.3 → 2.1.4
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/README.md +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ yarn add @echecs/pgn
|
|
|
19
19
|
|
|
20
20
|
**PGN** format:
|
|
21
21
|
|
|
22
|
-
```
|
|
22
|
+
```
|
|
23
23
|
{
|
|
24
24
|
meta: Meta,
|
|
25
25
|
moves: Moves,
|
|
@@ -29,7 +29,7 @@ yarn add @echecs/pgn
|
|
|
29
29
|
|
|
30
30
|
**Meta** format:
|
|
31
31
|
|
|
32
|
-
```
|
|
32
|
+
```
|
|
33
33
|
{
|
|
34
34
|
// Based on the PGN specification at least the following Tags should be available
|
|
35
35
|
Event: "the name of the tournament or match event"
|
|
@@ -46,7 +46,7 @@ yarn add @echecs/pgn
|
|
|
46
46
|
|
|
47
47
|
**Moves** is an _array_ of:
|
|
48
48
|
|
|
49
|
-
```
|
|
49
|
+
```
|
|
50
50
|
// move number, white move, black move
|
|
51
51
|
[5, Move, Move]
|
|
52
52
|
```
|
|
@@ -55,7 +55,7 @@ Notice that half move are available for variations of if the last move of the ga
|
|
|
55
55
|
|
|
56
56
|
**Move** format:
|
|
57
57
|
|
|
58
|
-
```
|
|
58
|
+
```
|
|
59
59
|
{
|
|
60
60
|
annotations: ["!", "$126"], // (optional) all the annotations for the given move
|
|
61
61
|
capture: false, // (optional) indicates if the move capture any piece
|
package/package.json
CHANGED