private void finishRightDiagonal(int playerNumber) {
        int i = 0;
        int j = gameField.getFieldSize() - 1;
        switch (playerNumber) {

            case 1: {

                while (i < gameField.getFieldSize()) {
                    if(!gameField.isFill(i,j)) {
                        gameField.putX(i,j);
                        break;
                    }
                    i++;
                    j--;
                }

            }

            case 2: {

                while (i < gameField.getFieldSize()) {
                    if(!gameField.isFill(i,j)) {
                        gameField.putO(i,j);
                        break;
                    }
                    i++;
                    j--;
                }

            }
        }

    }