Exemplo n.º 1
0
        static void Main(string[] args)
        {
            // Create the instance
            NetworkGame game = new NetworkGame();

            Debug.Assert(game != null);

            // Start the game
            game.Run();
        }
Exemplo n.º 2
0
        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();
        }