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

567 B

Home > bitburner > Go > getMoveHistory

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:

[
  "XX.O.",
  "X..OO",
  ".XO..",
  "XXO.#",
  ".XO.#",
]

Signature:

getMoveHistory(): string[][];

Returns:

string[][]