isBot method

bool isBot(
  1. int playerIndex
)

Whether playerIndex is played by the bot.

Implementation

bool isBot(int playerIndex) => _bots.contains(playerIndex);