<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) > [bitburner](./bitburner.md) > [Go](./bitburner.go.md) > [getCurrentPlayer](./bitburner.go.getcurrentplayer.md) ## Go.getCurrentPlayer() method Returns the color of the current player, or 'None' if the game is over. **Signature:** ```typescript getCurrentPlayer(): "White" | "Black" | "None"; ``` **Returns:** "White" \| "Black" \| "None" "White" \| "Black" \| "None"