示例#1
0
 public HKOSHand() : base()
 {
     BonusSets   = new List <TileGrouping>();
     HandScorer  = new HKOSHandScorer(this);
     TileSorter  = new SuitedHonorBonusTileSorter();
     TileGrouper = new SequenceTripletQuadTileGrouper(TileSorter);
 }
示例#2
0
        public Game()
        {
            Players = new Player[]
            {
                new HumanPlayer(this, "Player", HonorType.East),
                //new HumanPlayer(this, "Player", HonorType.East),
                //new HumanPlayer(this, "Player", HonorType.East),
                //new HumanPlayer(this, "Player", HonorType.East),
                new EfficientAI(this, "COM 1", HonorType.South),
                new EfficientAI(this, "COM 2", HonorType.West),
                new EfficientAI(this, "COM 3", HonorType.North)
            };

            AllTiles    = new List <Tile>(TileInstance.AllMainTileInstancesFourOfEachTilePlusBonusTiles);
            HandScorer  = new HKOSHandScorer();
            DealerIndex = 0;
        }