in reply to Re^2: Running a simulation - expected outcome
in thread Running a simulation - expected outcome
That isn't my reading of his algorithm.
You are probably right.
I took cristoforo's description of the algorithm -- which includes this passage "moving randomly 1 to 6 cells" -- as correct. Looking back to the originator's code, I do not know where than came from, but I didn't look very hard now, or at all before posting.
there isn't the possibility of moving diagonally.
Hm. It depends how you interpret the phrase: moving randomly 1 to 6 cells, (up, down, left or right),, that not quite the same as "not diagonally". I took to mean that move 5 UP and 1 LEFT was a valid move. Hence I came up with my "13 x 13 diamond pattern" and 1:84:
......X...... .....XXX..... ....XXXXX.... ...XXXXXXX... ..XXXXXXXXX.. .XXXXXXXXXXX. XXXXXX.XXXXXX .XXXXXXXXXXX. ..XXXXXXXXX.. ...XXXXXXX... ....XXXXX.... .....XXX..... ......X......
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Running a simulation - expected outcome
by Cristoforo (Curate) on Oct 01, 2012 at 20:59 UTC | |
by BrowserUk (Patriarch) on Oct 01, 2012 at 21:28 UTC |