Files
bitburner-src/markdown/bitburner.gocheat.getcheatcount.md
T
2025-03-22 23:59:46 -07:00

31 lines
777 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GoCheat](./bitburner.gocheat.md) &gt; [getCheatCount](./bitburner.gocheat.getcheatcount.md)
## GoCheat.getCheatCount() method
Returns the number of times you've attempted to cheat in the current game.
**Signature:**
```typescript
getCheatCount(playAsWhite?: boolean): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| playAsWhite | boolean | _(Optional)_ Optional override for playing as white. Can only be used when playing on a 'No AI' board. |
**Returns:**
number
The number of times you've attempted to cheat in the current game.
## Remarks
RAM cost: 1 GB Requires BitNode 14.2 to use