mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 06:18:42 +02:00
514 B
514 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"
Remarks
RAM cost: 0 GB