Beispiel #1
0
        static void Main(string[] args)
        {
            MyBoard    board    = new MyBoard(30, 10);
            DrawBoard  DelDraw  = MyDrawBoard;
            CheckInput DelCheck = MyCheckInput;

            DelDraw(board);
            board.Message();
            Console.SetCursorPosition(0, board.BoardSizeY + 1);
            MyClient Client = new MyClient();

            while (true)
            {
                Client.choice = MyCheckInput(board);
                DelDraw      += Client.ReturnChoice(Client.choice);
                DelDraw(board);
            }

            Console.ReadKey();
        }