{"size": 1260, "ext": "js", "max_stars_repo_path": "js_opgavedag_aflevering/opg11/script.1.js", "max_stars_repo_name": "TueMadsen/uge9", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "js_opgavedag_aflevering/opg11/script.1.js", "max_issues_repo_name": "TueMadsen/uge9", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "js_opgavedag_aflevering/opg11/script.1.js", "max_forks_repo_name": "TueMadsen/uge9", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 20.6557377049, "max_line_length": 67, "alphanum_fraction": 0.5166666667}
var index = 0;
var puzzlemaster = "";

document.getElementById("A").addEventListener("click", function(){ 
    document.getElementById("A").style.display = "none";


    puzzlemaster += "A";
    console.log(puzzlemaster)

    index ++
    if (index == 3){

        if (puzzlemaster == "CAB") {
            alert("You are the PUZZLEMASTER!")
        } 
        else {
            alert("FUK'U")
        }

        // alert ("You go girl")
    }
})
document.getElementById("B").addEventListener("click", function(){ 
    document.getElementById("B").style.display = "none";

    puzzlemaster += "B";
    console.log(puzzlemaster)

    index ++
    if (index == 3){

        if (puzzlemaster == "CAB") {
            alert("You are the PUZZLEMASTER!")
        } 
        else {
            alert("FUK'U")
        }

        // alert ("You go girl")
    }
})

document.getElementById("C").addEventListener("click", function(){ 
    document.getElementById("C").style.display = "none";

    puzzlemaster += "C";
    console.log(puzzlemaster)

    index ++
    if (index == 3){

        if (puzzlemaster == "CAB") {
            alert("You are the PUZZLEMASTER!")
        } 
        else {
            alert("FUK'U")
        }
        // alert ("You go girl")
    }
})