Ejemplo n.º 1
0
 public Round(Game game, IList <Tile> allTiles, HonorType roundWind)
 {
     Game            = game;
     RoundWind       = roundWind;
     AllTiles        = allTiles;
     DealCount       = 1;
     DealerKeepCount = 0;
 }
Ejemplo n.º 2
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();
 }
Ejemplo n.º 3
0
 public HumanPlayer(Game game, string name, HonorType seatWind) : base(game, name, seatWind)
 {
     IndexOfRecentlySelectedTile = -1;
 }
Ejemplo n.º 4
0
 public EfficientAI(Game game, string name, HonorType seatWind) : base(game, name, seatWind)
 {
     EfficientDrawsFinder  = new AppliedHKOSEfficientDrawsFinder();
     WaitingDistanceFinder = new RegularHandSevenPairsThirteenOrphansWaitingDistanceFinder();
     SeenTiles             = new List <Tile>();
 }
Ejemplo n.º 5
0
 public EfficientAI(Game game, HonorType seatWind) : this(game, "COM", seatWind)
 {
 }
Ejemplo n.º 6
0
 public HonorTile(Suit suit, HonorType honorType)
 {
     Suit      = suit;
     HonorType = honorType;
 }