Beispiel #1
0
        public Question()
        {
            StoreQuestion storeQuestion = new StoreQuestion();

            number      = RandomNumber.generateNumber.Next(0, storeQuestion.count);
            newQuestion = StoreQuestion.getquestion[number].ToString();
            StoreQuestion.getquestion.Remove(StoreQuestion.getquestion[number]);
            storeQuestion.count--;
        }
Beispiel #2
0
        static void Main()
        {
            // WINDOW Settings
            WindowsSettings.Initialize();

            // INITIAL Start Menu
            StartMenu.Initialize();

            // INITIAL THE GAME
            //  StartGame.Initialize();
            Terrain.Initialize();
            InfoAreas.Initialize();

            IRenderer        renderer        = new ConsoleRender(120, 50);
            IObjectOperator  objOperator     = new ObjectOperator();
            IQuestionManager questionManager = new StoreQuestion();
            Engine           myEngine        = new Engine(renderer, objOperator, questionManager);

            myEngine.Initialize();
            myEngine.Run();
        }