示例#1
0
        /**
         * This method is called for at first part of each round.
         * @return The list of PlaceArmiesMoves for one round
         */
        public List <PlaceArmiesMove> GetPlaceArmiesMoves(GameState state, long timeOut)
        {
            StrategicMap.AnalyzeMap(state);
            var pick = new PickArmyPlacements();

            return(pick.BasedOn(state));
        }
示例#2
0
        /**
         * This method is called for at the second part of each round.
         * @return The list of PlaceArmiesMoves for one round
         */
        public List <AttackTransferMove> GetAttackTransferMoves(GameState state, long timeOut)
        {
            StrategicMap.AnalyzeMap(state);
            var pick = new PickArmyMovements();

            return(pick.BasedOn(state));
        }
示例#3
0
        /**
         * A method used at the start of the game to decide which player start with what Regions. 6 Regions are required to be returned.
         * @return : a list of m (m=6) Regions starting with the most preferred Region and ending with the least preferred Region to start with
         */
        public List <Region> GetPreferredStartingRegions(GameState state, long timeOut)
        {
            StrategicMap.AnalyzeMap(state);
            var pick = new PickTopStartingRegions();

            return(pick.From(state.PickableStartingRegions, state.FullMap));
        }