bitburner-src/markdown/bitburner.go.getopponent.md
Michael Ficocelli fe87f1f628
IPVGO: Bugfixes (#1193)
* 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
2024-03-27 22:02:53 -07:00

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"