Rooms now connect randomly
commit54848d657ac798f12a16c2562aaf7e21e6ad1076
authorPhilip Pavlick <philip@swash.link>
Sat, 4 Aug 2018 06:25:46 +0000 (4 02:25 -0400)
committerPhilip Pavlick <philip@swash.link>
Sat, 4 Aug 2018 06:25:46 +0000 (4 02:25 -0400)
treeffc48579b99c27e783da2f08f979d8daecb74e68
parent48dce735e1fa51050ed88128913d3a8d2e220404
Rooms now connect randomly

To add a little spice to the maps, rooms are now shuffled before being
connected so that they are connected in a random order rather than in a
straight line.  This makes the maps more interesting, as it is less
obvious in which direction the player is expected to go, and corridors
are more likely to intersect rooms, allowing rooms to have multiple
exits.
src/map.d