Search in sources :

Example 86 with Game

use of mage.game.Game in project mage by magefree.

the class AngelOfSerenityTest method createNewGameAndPlayers.

@Override
protected Game createNewGameAndPlayers() throws GameException, FileNotFoundException {
    // Start Life = 2
    Game game = new FreeForAll(MultiplayerAttackOption.MULTIPLE, RangeOfInfluence.ALL, MulliganType.GAME_DEFAULT.getMulligan(0), 2);
    // Player order: A -> D -> C -> B
    playerA = createPlayer(game, playerA, "PlayerA");
    playerB = createPlayer(game, playerB, "PlayerB");
    playerC = createPlayer(game, playerC, "PlayerC");
    playerD = createPlayer(game, playerD, "PlayerD");
    return game;
}
Also used : Game(mage.game.Game) FreeForAll(mage.game.FreeForAll)

Example 87 with Game

use of mage.game.Game in project mage by magefree.

the class PrivilegedPositionTest method createNewGameAndPlayers.

@Override
protected Game createNewGameAndPlayers() throws GameException, FileNotFoundException {
    Game game = new FreeForAll(MultiplayerAttackOption.MULTIPLE, RangeOfInfluence.ALL, MulliganType.GAME_DEFAULT.getMulligan(0), 40);
    // Player order: A -> D -> C -> B
    playerA = createPlayer(game, playerA, "PlayerA");
    playerB = createPlayer(game, playerB, "PlayerB");
    playerC = createPlayer(game, playerC, "PlayerC");
    playerD = createPlayer(game, playerD, "PlayerD");
    return game;
}
Also used : Game(mage.game.Game) FreeForAll(mage.game.FreeForAll)

Example 88 with Game

use of mage.game.Game in project mage by magefree.

the class PlayerLeftGameRangeAllTest method createNewGameAndPlayers.

@Override
protected Game createNewGameAndPlayers() throws GameException, FileNotFoundException {
    // Start Life = 2
    Game game = new FreeForAll(MultiplayerAttackOption.MULTIPLE, RangeOfInfluence.ALL, MulliganType.GAME_DEFAULT.getMulligan(0), 2);
    // Player order: A -> D -> C -> B
    playerA = createPlayer(game, playerA, "PlayerA");
    playerB = createPlayer(game, playerB, "PlayerB");
    playerC = createPlayer(game, playerC, "PlayerC");
    playerD = createPlayer(game, playerD, "PlayerD");
    return game;
}
Also used : Game(mage.game.Game) FreeForAll(mage.game.FreeForAll)

Example 89 with Game

use of mage.game.Game in project mage by magefree.

the class BlatantThieveryTest method createNewGameAndPlayers.

@Override
protected Game createNewGameAndPlayers() throws GameException, FileNotFoundException {
    Game game = new FreeForAll(MultiplayerAttackOption.MULTIPLE, RangeOfInfluence.ALL, MulliganType.GAME_DEFAULT.getMulligan(0), 20);
    // Player order: A -> D -> C -> B
    playerA = createPlayer(game, playerA, "PlayerA");
    playerB = createPlayer(game, playerB, "PlayerB");
    playerC = createPlayer(game, playerC, "PlayerC");
    playerD = createPlayer(game, playerD, "PlayerD");
    return game;
}
Also used : Game(mage.game.Game) FreeForAll(mage.game.FreeForAll)

Example 90 with Game

use of mage.game.Game in project mage by magefree.

the class MultiplayerTriggerTest method createNewGameAndPlayers.

@Override
protected Game createNewGameAndPlayers() throws GameException, FileNotFoundException {
    Game game = new FreeForAll(MultiplayerAttackOption.MULTIPLE, RangeOfInfluence.ALL, MulliganType.GAME_DEFAULT.getMulligan(0), 40);
    // Player order: A -> D -> C -> B
    playerA = createPlayer(game, playerA, "PlayerA");
    playerB = createPlayer(game, playerB, "PlayerB");
    playerC = createPlayer(game, playerC, "PlayerC");
    playerD = createPlayer(game, playerD, "PlayerD");
    return game;
}
Also used : Game(mage.game.Game) FreeForAll(mage.game.FreeForAll)

Aggregations

Game (mage.game.Game)212 Ability (mage.abilities.Ability)139 Player (mage.players.Player)126 UUID (java.util.UUID)117 OneShotEffect (mage.abilities.effects.OneShotEffect)104 CardSetInfo (mage.cards.CardSetInfo)102 CardImpl (mage.cards.CardImpl)100 CardType (mage.constants.CardType)82 Outcome (mage.constants.Outcome)78 Permanent (mage.game.permanent.Permanent)66 MageInt (mage.MageInt)60 mage.constants (mage.constants)47 Zone (mage.constants.Zone)46 GameEvent (mage.game.events.GameEvent)44 Objects (java.util.Objects)41 StaticFilters (mage.filter.StaticFilters)40 Collectors (java.util.stream.Collectors)35 SubType (mage.constants.SubType)34 Card (mage.cards.Card)32 MageObjectReference (mage.MageObjectReference)30