2024-03-19 19:07:15 +01:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home ](./index.md ) > [bitburner ](./bitburner.md ) > [Go ](./bitburner.go.md ) > [getGameState ](./bitburner.go.getgamestate.md )
## Go.getGameState() method
Gets the status of the current game. Shows the current player, current score, and the previous move coordinates. Previous move coordinates will be \[-1, -1\] for a pass, or if there are no prior moves.
**Signature:**
```typescript
getGameState(): {
currentPlayer: "White" | "Black" | "None";
whiteScore: number;
blackScore: number;
previousMove: [number, number] | null;
2024-06-07 22:15:46 +02:00
komi: number;
bonusCycles: number;
2024-03-19 19:07:15 +01:00
};
```
**Returns:**
2024-06-07 22:15:46 +02:00
{ currentPlayer: "White" \| "Black" \| "None"; whiteScore: number; blackScore: number; previousMove: \[number, number\] \| null; komi: number; bonusCycles: number; }
2024-03-19 19:07:15 +01:00