private void btnPlayervsPlayer_Click(object sender, EventArgs e) { gameWindow f = new gameWindow(); gameWindow.clickCounter = 0; gameWindow.gameStarted = false; gameWindow.odaklei = gameWindow.odaklej = gameWindow.gdei = gameWindow.gdej = gameWindow.gdegradii = gameWindow.gdegradij = 0; gameWindow.botvbot = false; gameWindow.botvplay = false; f.ShowDialog(); }
private void btnNewGame_Click(object sender, EventArgs e) { gameWindow f = new gameWindow(); f.ShowDialog(); }