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