static void Main(string[] args) { // Create the instance NetworkGame game = new NetworkGame(); Debug.Assert(game != null); // Start the game game.Run(); }
static void Main(string[] args) { // Create the instance NetworkGame game = new NetworkGame(); Debug.Assert(game != null); Console.WriteLine("Enter Server IP address:"); MyClient.Instance.SetIPAddress(Console.ReadLine()); // Start the game game.Run(); }