Example #1
0
        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();
        }
Example #2
0
        private void btnNewGame_Click(object sender, EventArgs e)
        {
            gameWindow f = new gameWindow();

            f.ShowDialog();
        }