public static Shot executeShot(String x, String y) throws Exception{
        String result = request(x+y);

        String split[] = result.split(",");
        Shot s = new Shot();
        for (String token : split){
            String data[] = token.split(":");
            //data[0] is the key
            //data[0] is the result we want
            if (data[0].contains("board_id")){
                s.setBoard_id(data[1].substring(0,data[1].length()-1));
            } else if (data[0].contains("is_hit")){
                s.setIs_hit(data[1].contains("true"));
            }  else if (data[0].contains("is_finished")){
                s.setIs_finished(data[1].contains("true"));
            }  else if (data[0].contains("location")){
                s.setLocation(data[1].substring(0, data[1].length() - 1));
            } else if (data[0].contains("sunk")){
                s.setSunk(data[1].substring(0, data[1].length() - 1));
            }
        }
        return s;
    }