Play game script


Pasted by rko619 on Sunday, February 21, 2010 2:18 PM

Syntax:

											
1 if (pg == ("yes")) 2 { 3 //asks the user which game they want to play 4 String GS; 5 Console.WriteLine("Please pick a Game"); 6 Console.WriteLine("1)Tic-Tac-Toe"); 7 Console.WriteLine("Type the number of the game you wish to play (e.g. 1"); 8 Console.ReadLine(); 9 if (GS =("1")) 10 { 11 //plays tic tac toe with user 12 } 13 } 14