mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-12 18:53:55 +01:00
22 lines
581 B
Markdown
22 lines
581 B
Markdown
|
<!-- 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:
|
||
|
|
||
|
\[<br/> "XX.O.",<br/> "X..OO",<br/> ".XO..",<br/> "XXO.\#",<br/> ".XO.\#",<br/> \]
|
||
|
|
||
|
**Signature:**
|
||
|
|
||
|
```typescript
|
||
|
getMoveHistory(): string[][];
|
||
|
```
|
||
|
**Returns:**
|
||
|
|
||
|
string\[\]\[\]
|
||
|
|