Example #1
0
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        /// 
        static void Main(string[] args)
        {
            Game1 game = new Game1();
            game.Run();
               // String h;
            //nc.run();
               // game.Run();
            //using (Game1 game = new Game1())
            //{
            //   // Console.Title = "Console";
            ////    System.Console.WriteLine("Server started...");
            //            //        h = System.Console.ReadLine();
            ////    int s  = System.Console.Read();

            // //   String x  = Console.ReadLine();
            //    game.Run();

            //   //game.Run();

            //}
        }
        private BinaryWriter writer; //write to server console

        #endregion Fields

        #region Constructors

        public Network_Communication(Game1 Game,Reader r)
        {
            Game1 = Game;
            reader = r;
        }