Wang Tiles

 

edge and corner matched tilesets

menu

Twin Mazes

An alternative layout method is to use a 3-edge tileset to create two independent mazes on the same grid. We only need 33 of the available (3^4)=81 tiles. So Twin mazes use a reduced 3-edge tileset.

3-edge Ground/Bridge only
tile tile tile tile tile tile tile tile tile tile tile tile tile tile
tile tile tile tile tile tile tile tile tile tile tile tile tile tile
1 3 4 9 10 12 13 27 28 30 31 36 37 39
3-edge Ground/Trench only
tile tile tile tile tile tile tile tile tile tile tile tile tile tile
tile tile tile tile tile tile tile tile tile tile tile tile tile tile
2 6 8 18 20 24 26 54 56 60 62 72 74 78
plus...
tile tile tile tile tile
tile tile tile tile tile
0 40 50 70 80

Here are the 33 required tiles and also their equivalent Wang tiles for reference.
A default layout would look like this:

Twin maze layout and equivalent 3-edge reduced Wang tileset
Twin Maze layout

See Stage for more random twin path mazes. Both Bridge and Trench mazes are 'perfect' and independent of each other. After maze generation, alternative tile-0 'link' tiles are added.

Weave 'cross' tiles

If a more random weave effect is needed, then alternate 'cross' designs for both tile-50 and tile-70 can be randomly substituted.
Bridge/Trench have no alternatives because a bridge can only appear above (or over) a trench. Pipes can have alternatives. The Route tileset can have alternate 'cross' tiles with road barriers open or closed.
Pipes 'cross' tiles
tile tile tile tile

Route 'cross' tiles
tile tile tile tile

Link tiles

The Stagecast sim uses a couple of alternate tile-0 'link' tiles to join the upper Bridge and lower Trench mazes. They can only be added where the steps align correctly on two sides of an empty grass tile.
'Link' tiles
tile tile
tile tile
tile tile
tile tile
tile tile
tile tile
tile tile
tile tile
tile tile
tile tile
tile tile
tile tile
tile tile
tile tile
tile tile
tile tile
tile tile

Use the [Stage] 'same menu hold' option to see the equivalent reduced Wang tileset for a Twin maze layout.

Alternate tiles used

Tileset Tile-0
'link'
Tile-15
'weave'
Tile-5
'straight'
Tile-10
'straight'
Brench tile tile none tile same tile same
Pipes tile tile tile tile tile tile tile tile
Route none tile tile same tile same tile

Stage: Random Twin 2-edge 'Bridge & Trench' Tileset

Twin Path Bridge & Trench & 3-edge Wang

Wang Tiles | cr31.co.uk | 2017