Ejemplo n.º 1
0
        public int SlideBoard(Direction direction)
        {
            ulong target = tileCollection.GetTiles();

            (int score, ulong slidBoard) = BoardSlider.SlideBoard(direction, target);
            tileCollection.SetBoard(slidBoard);
            return(score);
        }
Ejemplo n.º 2
0
        private static bool IsAMatchPossible(TileCollectionB board)
        {
            ulong tiles = board.GetTiles();

            return(BitShifter.IsMatchPossible(tiles));
        }