ondras/rot.js — pull request #34 by uzudil (2014-04-26 17:32:13+00:00)
Title: optionally make a connected cellular map

Hello, please consider this patch to rot.js that optionally creates a connected cellular map. In such a map every non-wall location is accessible. To use it, do:

var map = new ROT.Map.Cellular(width, height, { connected: true });

and otherwise use as you would with a cellular map.

Thanks!