An open source library to handle 2d grid data structures.

During the development of my game „Bloodyfingers“ I had to work a lot with two-dimensional array data structures (or grids). Especially when positioning objects in a room. After implementing quite a few helper functions to manipulate these grids, I decided to extract everything into an open source library, which I called „gridl“. I put quite some of effort into documentation and little tutorials so that it's easy to use for others.

Tech stack

  • Vanilla JS
  • Mocha
  • TravisCI
  • JSDoc