Exemplo n.º 1
0
        public void Run(int hardmode)
        {
            if (hardmode == 1)
            {
                mode = true;
            }
            ;                                     // Medium is selected
            if (hardmode == 2)
            {
                mode = false;
            }
            ;                                      // Hardmode is selected
            if (mode)
            {
                int random = rng.Next(0, words.normalOrd.Length);
                ValgtOrd = words.normalOrd[random];
            }
            else if (!mode)
            {
                int random = rng.Next(0, words.hardOrd.Length);
                ValgtOrd = words.hardOrd[random];
            }

            Game.GuessField(12, ValgtOrd);


            string line = Console.ReadLine();

            if (line.ToUpper() == "Q")
            {
                return;
            }
        }