Пример #1
0
        public Ufo()
        {
            ufos = new string[] { s0, s1, s2, s3, s4, s5 };
            Ufo ufo = new Ufo();

            Console.WriteLine(ufos[1]);
        }
Пример #2
0
        public Game()
        {
            var randomCodeword = new Random().Next(Codewords.Length);

            Codeword     = Codewords[randomCodeword];
            MaxGuesses   = 5;
            WrongGuesses = 0;
            CurrentWord  = new string('_', Codeword.Length);
            Ufo          = new Ufo();
        }