AcornPublishing_essential-csharp-7e/EssentialCSharp-8.0/src/Chapter04/Listing04.47.DeterminingRemainingMoves.cs
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter04.Listing04_47
{
    public class TicTacToe // Declares the TicTacToe class
    {
        public static void Main() // Declares the entry point of the program
        {
            // Hardcode initial board as follows
            // ---+---+---
            //  1 | 2 | 3
            // ---+---+---
            //  4 | 5 | 6
            // ---+---+---
            //  7 | 8 | 9
            // ---+---+---
            char[] cells = {
                '1', '2', '3', '4', '5', '6', '7', '8', '9'
            };

            System.Console.Write(
                "The available moves are as follows: ");

            // Write out the initial available moves
            foreach(char cell in cells)
            {
                if(cell != 'O' && cell != 'X')
                {
                    System.Console.Write($"{ cell } ");
                }
            }
        }
    }
}
