2024-06-07 22:15:46 +02:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Go](./bitburner.go.md) > [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:
|
|
|
|
|
2024-08-14 00:57:15 +02:00
|
|
|
```js
|
|
|
|
[
|
|
|
|
"XX.O.",
|
|
|
|
"X..OO",
|
|
|
|
".XO..",
|
|
|
|
"XXO.#",
|
|
|
|
".XO.#",
|
|
|
|
]
|
|
|
|
```
|
2024-06-07 22:15:46 +02:00
|
|
|
|
|
|
|
**Signature:**
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
getMoveHistory(): string[][];
|
|
|
|
```
|
|
|
|
**Returns:**
|
|
|
|
|
|
|
|
string\[\]\[\]
|
|
|
|
|