static void Main(string[] args) { TicTacToeGame game = new TicTacToeGame(); game.CreateBoard(); char choice = game.Choice(); game.ShowBoard(); game.PlayerMovement(choice); game.Toss(); }
static void Main(string[] args) { TicTacToeGame ticTacToe = new TicTacToeGame(); char[] gameBoard = ticTacToe.CreateBoard(); char userLetter = ticTacToe.ChooseLetter(); char computerLetter = ticTacToe.getCompLetter(userLetter); Console.WriteLine("Your Letter :" + userLetter); Console.WriteLine("Computer's Letter :" + computerLetter); ticTacToe.showBoard(gameBoard); ticTacToe.MakeYourMove(gameBoard, userLetter); string winner = ticTacToe.DoAToss(); }