xxxxxxxxxx
21
class playfield{
constructor(w,h){
this.cols = w;
this.rows = h;
this.grid = [];
this.scl = 10;
}
show(){
for(let row = 0; row<= this.rows; row++){
for(let col = l; cols <= this.cols; col++){
rect(row,col,)
}
}
}
}