mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-24 00:23:49 +01:00
fe87f1f628
* IPVGO: Explicitly link the generated API documentation in the algorithm design doc * IPVGO: Fix missing factions in netscript docs * IPVGO: Linting * IPVGO: Ensure resetBoardState() logs that a new game has started
444 B
444 B
Home > bitburner > Go > getOpponent
Go.getOpponent() method
Returns the name of the opponent faction in the current subnet.
Signature:
getOpponent(): GoOpponent | "No AI";
Returns:
GoOpponent | "No AI"