{"size": 631, "ext": "js", "max_stars_repo_path": "ch2/exercises/chessboard.js", "max_stars_repo_name": "berquist/eloquent-javascript", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "ch2/exercises/chessboard.js", "max_issues_repo_name": "berquist/eloquent-javascript", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "ch2/exercises/chessboard.js", "max_forks_repo_name": "berquist/eloquent-javascript", "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": 21.7586206897, "max_line_length": 38, "alphanum_fraction": 0.2297939778}
const dim = 20;

for (let ir = 0; ir < dim; ir++) {
    let line = "";
    for (let ic = 0; ic < dim; ic++) {
        if (ir % 2 == 0) {
            if (ic % 2 == 0) {
                line += " ";
            } else {
                line += "#";
            }
        } else {
            if (ic % 2 == 0) {
                line += "#";
            } else {
                line += " ";
            }
        }
        // let r2 = ir % 2 == 0;
        // let c2 = ic % 2 == 0;
        // if ((!ir) != (!ic)) {
        //     line += "#";
        // } else {
        //     line += " ";
        // }
    }
    console.log(line);
}
