mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 06:48:42 +02:00
IPVGO: Add history, and details to status, to go API (#1348)
This commit is contained in:
committed by
GitHub
parent
30a6419b11
commit
cf48d666f5
@@ -17,6 +17,7 @@ import {
|
||||
getCurrentPlayer,
|
||||
getGameState,
|
||||
getLiberties,
|
||||
getMoveHistory,
|
||||
getOpponentNextMove,
|
||||
getStats,
|
||||
getValidMoves,
|
||||
@@ -58,6 +59,9 @@ export function NetscriptGo(): InternalAPI<NSGo> {
|
||||
getBoardState: () => () => {
|
||||
return simpleBoardFromBoard(Go.currentGame.board);
|
||||
},
|
||||
getMoveHistory: () => () => {
|
||||
return getMoveHistory();
|
||||
},
|
||||
getCurrentPlayer: () => () => {
|
||||
return getCurrentPlayer();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user