OptionalbotWhether or not targeting is allowed (changed by server). Setting target while this is false will throw an error.
The gameids of the users targeting the client
The client's engine
The client's gameid set by the server
The keys the client has queued to press (allows for pressing keys in the future)
The last time IGEs were flushed
The raw game config sent by TETR.IO
The targets set by the server
The performance.now() timestamp when the gameplay started
OptionaltickThe tick function called every game tick
StaticmaxIGETimeoutThe maximum amount of time before all IGEs are force-flushed
Force stops the processing of all IGEs (garbage, etc). If left true for too long (~30s), IGEs will be automatically flushed to avoid a forced disconnect. Use sparingly.
Whether or not the Game is currently allowed to process IGEs.
Pauses accepting IGEs (garbage events) when the keyQueue has items, when pauseIGEs is set to true.
The BotWrapper in use. When a BotWrapper is set,
tickwill not be called.