public Round(Game game, IList <Tile> allTiles, HonorType roundWind) { Game = game; RoundWind = roundWind; AllTiles = allTiles; DealCount = 1; DealerKeepCount = 0; }
public Player(Game game, string name, HonorType seatWind) { Name = name; Game = game; Hand = new HKOSHand(); SeatWind = seatWind; Points = 0; TilesSeenSinceLastTurn = new HashSet <Tile>(); TileGrouper = new SequenceTripletQuadTileGrouper(new SuitedHonorBonusTileSorter()); WaitingDistanceFinder = new RegularHandSevenPairsThirteenOrphansWaitingDistanceFinder(); }
public HumanPlayer(Game game, string name, HonorType seatWind) : base(game, name, seatWind) { IndexOfRecentlySelectedTile = -1; }
public EfficientAI(Game game, string name, HonorType seatWind) : base(game, name, seatWind) { EfficientDrawsFinder = new AppliedHKOSEfficientDrawsFinder(); WaitingDistanceFinder = new RegularHandSevenPairsThirteenOrphansWaitingDistanceFinder(); SeenTiles = new List <Tile>(); }
public EfficientAI(Game game, HonorType seatWind) : this(game, "COM", seatWind) { }
public HonorTile(Suit suit, HonorType honorType) { Suit = suit; HonorType = honorType; }