Exemplo n.º 1
0
Arquivo: Menu.cs Projeto: KuzeyC/Pisti
        private void bExtreme_Click(object sender, EventArgs e)
        {
            StreamReader sr = new StreamReader("Achievements.txt");
            string       currentAchievements = sr.ReadToEnd();

            sr.Close();
            if (currentAchievements.Contains("a5"))
            {
                Game.difficulty = 4;
                pistiGame       = new Pisti();
                pistiGame.ShowDialog();
            }
            else
            {
                MessageBox.Show("Beat the computer in hard difficulty to unlock extreme.");
            }
        }
Exemplo n.º 2
0
Arquivo: Menu.cs Projeto: KuzeyC/Pisti
 private void bHardMode_Click(object sender, EventArgs e)
 {
     Game.difficulty = 3;
     pistiGame       = new Pisti();
     pistiGame.ShowDialog();
 }