function test() { this.init(); for (var i=0; i<10; i++) { delete this.blocks[10][9]; this.collapse_blocks(); } this.look_for_holes(); } test.prototype.init = function() { this.blocks = new Array(20); for (var x=0; x