[Home](./index.md) > [bitburner](./bitburner.md) > [GoCheat](./bitburner.gocheat.md) > [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. |