DOCUMENTATION: Fix errors and warnings shown by api-extractor (#1566)

This commit is contained in:
catloversg
2024-08-14 05:57:15 +07:00
committed by GitHub
parent 5427ae71ca
commit 6c2d44b0fe
12 changed files with 485 additions and 134 deletions

View File

@@ -8,8 +8,15 @@ Retrieves a simplified version of the board state. "X" represents black pieces,
For example, a 5x5 board might look like this:
\[<br/> "XX.O.",<br/> "X..OO",<br/> ".XO..",<br/> "XXO.\#",<br/> ".XO.\#",<br/> \]
```js
[
"XX.O.",
"X..OO",
".XO..",
"XXO.#",
".XO.#",
]
```
Each string represents a vertical column on the board, and each character in the string represents a point.
Traditional notation for Go is e.g. "B,1" referring to second ("B") column, first rank. This is the equivalent of index \[1\]\[0\].