public static Game CreateGame(UserInfo player1, UserInfo player2, GameConfigInfo gameConfigInfo) { var gameConfig = GameConfigBuilder.Create() .SetPlayer1(player1.AccountName, player1.DeckData) .SetPlayer2(player2.AccountName, player2.DeckData) .SkipMulligan(gameConfigInfo.SkipMulligan) .Shuffle(gameConfigInfo.Shuffle) .FillDecks(gameConfigInfo.FillDecks) .Logging(gameConfigInfo.Logging) .History(gameConfigInfo.History) .RandomSeed(gameConfigInfo.RandomSeed) .Build(); return(new Game(gameConfig)); }
public static void Run(TestOutput testOutput) { GameConfig gameConfig = GameConfigBuilder.Create( StartingCardSplit.Split43, Cards.Bishop, Cards.FarmingVillage, Cards.GrandMarket, Cards.Hamlet, Cards.Hoard, Cards.Monument, Cards.Mountebank, Cards.PhilosophersStone, Cards.ScryingPool, Cards.Vineyard ); testOutput.ComparePlayers(Strategies.MountebankMonumentHamletVineyard.Player(), Strategies.BigMoney.Player(), gameConfig); testOutput.ComparePlayers(Strategies.MountebankHoard.Player(), Strategies.BigMoney.Player(), gameConfig); testOutput.ComparePlayers(Strategies.MountebankMonumentHamletVineyard.Player(), Strategies.MountebankHoard.Player(), gameConfig); }
public static void Run() { GameConfig gameConfig = GameConfigBuilder.Create( StartingCardSplit.Split43, Cards.Bishop, Cards.FarmingVillage, Cards.GrandMarket, Cards.Hamlet, Cards.Hoard, Cards.Monument, Cards.Mountebank, Cards.PhilosophersStone, Cards.ScryingPool, Cards.Vineyard ); Program.ComparePlayers("MountebankMonumentHamletVineyard", "BigMoney", gameConfig); Program.ComparePlayers("MountebankHoard", "BigMoney", gameConfig); Program.ComparePlayers("MountebankMonumentHamletVineyard", "MountebankHoard", gameConfig); }
// forum post: http://forum.dominionstrategy.com/index.php?topic=9602.0 /* any attempt to get more than one remake, or more than 2 sooth sayers results in a loss .... (but in real game, the plan was 3 remakes and 3 soothsayers ...) * * * */ public static void Run() { GameConfig gameConfig = GameConfigBuilder.Create( StartingCardSplit.Split43, Cards.Butcher, Cards.GreatHall, Cards.HornOfPlenty, Cards.HorseTraders, Cards.Minion, Cards.Pawn, Cards.Remake, Cards.Soothsayer, Cards.StoneMason, Cards.Swindler ); //Program.ComparePlayers(Strategies.HorseTraderSoothsayerMinionGreatHall.Player(1), Strategies.HorseTraderSoothsayerMinionGreatHall.Player(2, false), gameConfig); Program.ComparePlayers("HorseTraderSoothsayerMinionGreatHall", "BigMoney", gameConfig); Program.ComparePlayers("RemakeSoothsayer", "BigMoney", gameConfig); Program.ComparePlayers("RemakeSoothsayer", "HorseTraderSoothsayerMinionGreatHall", gameConfig); }