private void startGame() throws InterruptedException {
        OknoClass gameWindow = new OknoClass();
        while(true) {
            while (Constants.isRunning) {
                makeStep();      // Updating Level state
                gameWindow.redrawWindow(this);

                try {
                    Thread.sleep(Constants.turnLengthInMs);
                } catch (InterruptedException e) {
                    e.printStackTrace();
                }
            }

            if(!Constants.isRunning && Constants.nextStep == 1) {
                makeStep();

                gameWindow.redrawWindow(this);
                Constants.nextStep = 0;
            }

            Thread.sleep(1);
        }
    }