UNPKG

matrix-map

Version:

A class object for to aid in the creation of 2D grid games.

9 lines (8 loc) 202 B
const display = function (){ let arr = Array.from(this.map.values()) let show = arr.convertToSquareBoard(); show.forEach(row =>{ console.log(row); }) } export default display