mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-01 12:03:47 +01:00
486 B
486 B
Home > bitburner > Go > getCurrentPlayer
Go.getCurrentPlayer() method
Returns the color of the current player, or 'None' if the game is over.
Signature:
getCurrentPlayer(): "White" | "Black" | "None";
Returns:
"White" | "Black" | "None"
"White" | "Black" | "None"