day_21/maze_05.js
// initialize maze with walls at every cell
initialize maze with walls at every cell
initialize maze with walls at every cell
function initializeMaze(rows, columns) {
    let s = [];
    for (let z = 0; z < rows; z++) {
        let t = [];
        for (let x = 0; x < columns; x++) {
            t.push(0);
        }
        s.push(t);
    }
    return s;
}
function initializeMaze ( rows , columns ) { let s = [ ] ; for ( let z = 0 ; z < rows ; z ++ ) { let t = [ ] ; for ( let x = 0 ; x < columns ; x ++ ) { t . push ( 0 ) ; } s . push ( t ) ; } return s ; }
initialize maze with walls at every cell
initialize maze with walls at every cell