Esempio n. 1
0
 // Set the difficulty to hard when the player clicks on hard
 private void HardBtn_Click(object sender, EventArgs e)
 {
     game = new frmgame(22);
     OnStartGame();
 }
Esempio n. 2
0
 // Create a new game with the desired difficulty
 public void NewGame(int difficulty)
 {
     game = new frmgame(difficulty);
     OnStartGame();
 }
Esempio n. 3
0
 // Set the difficulty to regular when the player clicks on regular
 private void RegBtn_Click(object sender, EventArgs e)
 {
     game = new frmgame(30);
     OnStartGame();
 }