private void readAndSetCards() throws IOException {
        //reset cards if there are any
        cardList.clear();
        String line;
        //read in the cards for the answer
        for (int cardRow = 0; cardRow < 4; cardRow++) {
            line = reader.readLine();
            String[] temp = line.split(" ");
            for(String s: temp) {
                cardList.add(new Card(Integer.parseInt(s)));
            }
        }
    }