public int generateCPUMove() {
        //@TODO: Currently Stubbed. Complete the AI algorithm.
        boolean[] valids = getAllValidPlays(CPU);
        
        int counter = 0;
        for (int i = 0; i < valids.length; i++) {
            if (valids[i])
                counter++;
        }
        
        if (counter == 0)
            return -1;
        else {
            for (int i = 0; i < valids.length; i++) {
                if (valids[i])
                    return i;
            }
            return -1;
        }
    }