## Labyrinth. Rules!

For discussion of other cellular automata.

### Labyrinth. Rules!

`@RULE ariadneFun with cellular automata, mino-toursNaszvadi, Peter, 2018@TABLE# Format: C,N,E,S,W,C'n_states:8neighborhood:vonNeumannsymmetries:rotate4var a={0,1,2,3,4,5,6,7}var b={0,1,2,3,4,5,6,7}var c={0,1,2,3,4,5,6,7}var d={0,1,2,3,4,5,6,7}var f={1,5}var g={1,5}var h={1,5}# 1 = wall# 2 = wanderer# 3 = wanderer's last place# 4 = path# 5 = touched wall# 6 = wanderer in dead end# 7 = wanderer in crossroads# dead end4,2,f,g,h,63,6,a,b,c,2# path change4,2,4,4,4,74,6,4,4,4,74,2,f,a,g,24,2,a,f,g,24,5,a,b,7,23,6,4,4,4,7# wall5,a,b,c,d,11,2,a,b,c,51,6,a,b,c,5# trail3,a,b,c,d,4# wanderer leaves2,a,b,c,d,36,a,b,c,d,37,a,b,c,d,3# other transitions0,a,b,c,d,01,a,b,c,d,12,a,b,c,d,23,a,b,c,d,34,a,b,c,d,45,a,b,c,d,56,a,b,c,d,67,a,b,c,d,7@COLORS1 255 255 2552 192 192 1923 64 255 644 255 64 645 128 0 2556 188 188 1887 255 255 64`

`x = 38, y = 38, rule = ariadne3.3A3.3A3.3A3.3A3.3A3.3A\$3.ADA3.ADA3.ADA3.ADA3.ADA3.ADA\$3.ADA3.ADA3.ADA3.ADA3.ADA3.ADA\$4AD5AD5AD5AD5AD5AD3A\$AB11DA11DA11DA\$4AD5AD5AD5AD5AD5AD3A\$3.ADA3.ADA3.ADA3.ADA3.ADA3.ADA\$3.3A3.ADA3.ADA3.ADA3.3A3.ADA\$3.ADA3.ADA3.ADA3.ADA3.ADA3.ADA\$4AD5AD5AD5AD5AD5AD3A\$A12DA5DA11DA5DA\$4AD5AD5AD5AD5AD5AD3A\$3.ADA3.ADA3.ADA3.ADA3.ADA3.ADA\$3.ADA3.3A3.3A3.ADA3.ADA3.ADA\$3.ADA3.ADA3.ADA3.ADA3.ADA3.ADA\$4AD5AD5AD5AD5AD5AD3A\$A18DA5DA5DA5DA\$4AD5AD5AD5AD5AD5AD3A\$3.ADA3.ADA3.ADA3.ADA3.ADA3.ADA\$3.3A3.ADA3.ADA3.ADA3.ADA3.ADA\$3.ADA3.ADA3.ADA3.ADA3.ADA3.ADA\$4AD5AD5AD5AD5AD5AD3A\$A6DA5DA5DA5DA11DA\$4AD5AD5AD5AD5AD5AD3A\$3.ADA3.ADA3.ADA3.ADA3.ADA3.ADA\$3.ADA3.ADA3.3A3.ADA3.ADA3.3A\$3.ADA3.ADA3.ADA3.ADA3.ADA3.ADA\$4AD5AD5AD5AD5AD5AD3A\$A6DA11DA5DA11DA\$4AD5AD5AD5AD5AD5AD3A\$3.ADA3.ADA3.ADA3.ADA3.ADA3.ADA\$3.ADA3.3A3.ADA3.ADA3.3A3.ADA\$3.ADA3.ADA3.ADA3.ADA3.ADA3.ADA\$4AD5AD5AD5AD5AD5AD3A\$A24DA11D\$4AD5AD5AD5AD5AD5AD3A\$3.ADA3.ADA3.ADA3.ADA3.ADA3.ADA\$3.3A3.3A3.3A3.3A3.3A3.3A!`

Mine o'tours Unoptimized, made in a hurry, just for fun, incomplete.

Posts: 372
Joined: May 7th, 2016, 8:53 am

### Re: Labyrinth. Rules!

Try your's on my maze-gem rule
`@RULE Maze-gen@TABLEn_states:2neighborhood:Mooresymmetries:rotate4reflectvar a = {0,1}var b = {a}var c = {a}var d = {a}var e = {a}var f = {a}var g = {a}var h = {a}0,0,0,0,0,0,0,0,0,01,1,1,1,1,1,1,1,1,10,a,1,1,1,c,0,0,0,11,a,0,0,0,c,1,1,1,00,1,1,1,b,0,0,0,c,11,0,0,0,b,1,1,1,c,00,0,1,0,1,0,0,0,0,11,1,0,1,0,1,1,1,1,00,1,a,1,b,1,c,1,0,11,0,a,0,b,0,c,0,1,00,1,1,1,1,1,1,1,1,11,0,0,0,0,0,0,0,0,00,1,0,1,1,1,0,1,1,11,0,1,0,0,0,1,0,0,00,1,0,1,1,1,1,1,1,11,0,1,0,0,0,0,0,0,00,1,0,0,0,1,0,0,0,11,0,1,1,1,0,1,1,1,00,0,1,1,0,1,0,1,1,11,1,0,0,1,0,1,0,0,01,0,a,1,1,1,b,0,1,00,1,a,0,0,0,b,1,0,10,0,0,1,0,1,1,1,a,11,1,1,0,1,0,0,0,a,01,0,1,1,1,a,1,1,1,0@COLORS0 255 255 2551 0 0 0`

(it doesn't really work that way, but just for fun lol )
Failed Replicator!
`x = 4, y = 4, rule = B34ce5cen67c8/S2-i3-jqry4cent5j67c8bo\$obo\$bobo\$2bo!`

(That I wish was not failed D:)

jimmyChen2013

Posts: 133
Joined: December 11th, 2017, 3:28 am

### Re: Labyrinth. Rules!

Vaguely related -- here's a simplified copy of an early Golly rule for solving mazes, and a couple of Python scripts for generating test mazes, and some sample maze patterns -- from the Rule Table Repository.

MazeSolver2.zip
MazeSolver archive from 2009 (with updated rule file from 2013)

dvgrn
Moderator

Posts: 5827
Joined: May 17th, 2009, 11:00 pm