public boolean isFull() {
        int counter = 0;
        for(int i=0;i<positions.length;i++){
            if(positions[i]!=" "){
                counter++;
            }
        }
        if(counter==positions.length){
            out.println("Game is a draw");
            return true;
        }
        return false;
    }