Ejemplo n.º 1
0
  public MagicGame getGame() {
    final MagicDuel duel = createDuel(MagicAIImpl.MMABC, 6);
    final MagicGame game = duel.nextGame();
    game.setPhase(MagicUpkeepPhase.getInstance());
    final MagicPlayer player = game.getPlayer(0);
    final MagicPlayer opponent = game.getPlayer(1);

    MagicPlayer P = player;

    P.setLife(20);
    addToLibrary(P, "Forest", 20);
    addToHand(P, "Forest", 1);
    addToHand(P, "Axebane Stag", 1);
    addToHand(P, "Forest", 1);
    addToHand(P, "Brushstrider", 1);
    addToHand(P, "Yavimaya Scion", 1);
    addToHand(P, "Temple of Plenty", 1);
    addToHand(P, "Reaping the Rewards", 1);

    P = opponent;

    P.setLife(20);
    addToLibrary(P, "Forest", 20);
    addToHand(P, "Mountain", 1);
    addToHand(P, "Active Volcano", 1);
    addToHand(P, "Elvish Handservant", 1);
    addToHand(P, "Jayemdae Tome", 1);
    addToHand(P, "Savage Lands", 1);
    addToHand(P, "Forest", 1);
    addToHand(P, "Rupture Spire", 1);

    return game;
  }
Ejemplo n.º 2
0
  public MagicGame getGame() {
    final MagicDuel duel = createDuel(MagicAIImpl.MCTS, 8);
    final MagicGame game = duel.nextGame();
    game.setPhase(MagicUpkeepPhase.getInstance());
    game.setTurnPlayer(game.getPlayer(1));
    game.setTurn(24);
    final MagicPlayer player = game.getPlayer(0);
    final MagicPlayer opponent = game.getPlayer(1);

    MagicPlayer P = player;

    P.setLife(20);
    addToLibrary(P, "Forest", 5);
    addToLibrary(P, "Kodama of the South Tree", 1);
    addToLibrary(P, "Forest", 5);
    addToHand(P, "Lifespinner", 1);
    addToHand(P, "Forest", 3);
    createPermanent(P, "Forest", 4);
    createPermanent(P, "Traproot Kami", 3);

    P = opponent;

    P.setLife(20);
    addToLibrary(P, "Forest", 22);
    createPermanent(P, "Forest", 4);

    return game;
  }