Search in sources :

Example 1 with TestComputerPlayerMonteCarlo

use of org.mage.test.player.TestComputerPlayerMonteCarlo in project mage by magefree.

the class CardTestPlayerBaseWithMonteCarloAIHelps method createPlayer.

@Override
protected TestPlayer createPlayer(String name, RangeOfInfluence rangeOfInfluence) {
    TestPlayer testPlayer = new TestPlayer(new TestComputerPlayerMonteCarlo(name, RangeOfInfluence.ONE, 6));
    // AI can't play it by itself, use AI commands
    testPlayer.setAIPlayer(false);
    return testPlayer;
}
Also used : TestPlayer(org.mage.test.player.TestPlayer) TestComputerPlayerMonteCarlo(org.mage.test.player.TestComputerPlayerMonteCarlo)

Aggregations

TestComputerPlayerMonteCarlo (org.mage.test.player.TestComputerPlayerMonteCarlo)1 TestPlayer (org.mage.test.player.TestPlayer)1