botDifficulty property

set botDifficulty (LudoBotDifficulty difficulty)

Switches every bot to the built-in strategy for difficulty.

Implementation

set botDifficulty(LudoBotDifficulty difficulty) =>
    botStrategy = LudoBotStrategy.forDifficulty(difficulty);