Files
bitburner-src/markdown/bitburner.gocheat.getcheatcount.md

887 B

Home > bitburner > GoCheat > getCheatCount

GoCheat.getCheatCount() method

Returns the number of times you've attempted to cheat in the current game.

Signature:

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 Source-File 14.2 to use