travel_world(callback) {
                var column, i, ref, results, row;
                results = [];
                for (row = i = 0, ref = this.roll_num; 0 <= ref ? i < ref : i > ref; row = 0 <= ref ? ++i : --i) {
                    results.push(function() {
                        var j, ref1, results1;
                        results1 = [];
                        for (column = j = 0, ref1 = this.column_num; 0 <= ref1 ? j < ref1 : j > ref1; column = 0 <= ref1 ? ++j : --j) {
                            results1.push(callback.call(this, {
                                row: row,
                                column: column
                            }));

                        }
                        return results1;
                    }.call(this));
                }
                return results;
            }
// callback function to do something on each cell
callback function to do something on each cell
callback function to do something on each cell
travel_world(callback) {
                var column, i, ref, results, row;
                results = [];
                for (row = i = 0, ref = this.roll_num; 0 <= ref ? i < ref : i > ref; row = 0 <= ref ? ++i : --i) {
                    results.push(function() {
                        var j, ref1, results1;
                        results1 = [];
                        for (column = j = 0, ref1 = this.column_num; 0 <= ref1 ? j < ref1 : j > ref1; column = 0 <= ref1 ? ++j : --j) {
                            results1.push(callback.call(this, {
                                row: row,
                                column: column
                            }));
                        }
                        return results1;
                    }.call(this));
                }
                return results;
            }
travel_world ( callback ) { var column , i , ref , results , row ; results = [ ] ; for ( row = i = 0 , ref = this . roll_num ; 0 <= ref ? i < ref : i > ref ; row = 0 <= ref ? ++ i : -- i ) { results . push ( function ( ) { var j , ref1 , results1 ; results1 = [ ] ; for ( column = j = 0 , ref1 = this . column_num ; 0 <= ref1 ? j < ref1 : j > ref1 ; column = 0 <= ref1 ? ++ j : -- j ) { results1 . push ( callback . call ( this , { row : row , column : column } ) ) ; } return results1 ; } . call ( this ) ) ; } return results ; }
callback function to do something on each cell
callback function to do something on each cell