https://javascript.plainenglish.io/javascript-roguelikes-connecting-diagonal-dungeon-rooms-using-corners-79f460f96615