isCurrentPlayerBot property

bool get isCurrentPlayerBot

Whether the player to move is a bot.

Implementation

bool get isCurrentPlayerBot => _bots.contains(_state.currentPlayerIndex);