Beispiel #1
0
        public BoardPosition TakeTurn(IPlayerBoard board)
        {
            // let's see if anyone's played at 0,0...
            if (board.TokenAt(BoardPosition.At(0, 0)) == PlayerToken.None)
            {
                // No? Sweet! Let's play there.
                return(BoardPosition.At(0, 0));
            }

            // Sod it, I'm going to play there anyway..
            return(BoardPosition.At(0, 0));
        }