Use idiomatic abbreviations for rows and columns.
[cellular-automata.git] / life / 005 / README.md
CommitLineData
ffa3a0a0
SK
1life-005
2========
3
4
5Approach
6--------
7AWK's array is not a first class value - it cannot be copied and passed around.
8One of approaches to work around this issue (the other I tried in life-004) is
9using a single array with a new element for each generation (so that we can
10refer to the previous while building new). Problem is that there are no
11multidimensional arrays either... However, facilities are provided for
12simulating them by storing level dimension information in the key of the
13associative array, so I ended up with board[generation, x, y] and manually
14deleting a generation when it is no longer needed.
This page took 0.022695 seconds and 4 git commands to generate.