DOCUMENTATION: Add GoAnalysis and GoCheat (#1548)

This commit is contained in:
catloversg
2024-08-06 03:42:19 +07:00
committed by GitHub
parent 9a77b47241
commit 180dae1d2c
17 changed files with 609 additions and 273 deletions
@@ -0,0 +1,27 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GoAnalysis](./bitburner.goanalysis.md) &gt; [getControlledEmptyNodes](./bitburner.goanalysis.getcontrolledemptynodes.md)
## GoAnalysis.getControlledEmptyNodes() method
Returns 'X', 'O', or '?' for each empty point to indicate which player controls that empty point. If no single player fully encircles the empty space, it is shown as contested with '?'. "\#" are dead nodes that are not part of the subnet.
Filled points of any color are indicated with '.'
In this example, white encircles some space in the top-left, black encircles some in the top-right, and between their routers is contested space in the center:
<pre lang="javascript"> \[ "OO..?", "OO.?.", "O.?.X", ".?.XX", "?..X\#", \] </pre>
**Signature:**
```typescript
getControlledEmptyNodes(): string[];
```
**Returns:**
string\[\]
## Remarks
RAM cost: 16 GB (This is intentionally expensive; you can derive this info from just getBoardState() )