bitburner-src/markdown/bitburner.go.getmovehistory.md

30 lines
567 B
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Go](./bitburner.go.md) &gt; [getMoveHistory](./bitburner.go.getmovehistory.md)
## Go.getMoveHistory() method
Returns all the prior moves in the current game, as an array of simple board states.
For example, a single 5x5 prior move board might look like this:
```js
[
"XX.O.",
"X..OO",
".XO..",
"XXO.#",
".XO.#",
]
```
**Signature:**
```typescript
getMoveHistory(): string[][];
```
**Returns:**
string\[\]\[\]