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."); } }
private void bHardMode_Click(object sender, EventArgs e) { Game.difficulty = 3; pistiGame = new Pisti(); pistiGame.ShowDialog(); }