Conway's Game of Life: Difference between revisions
Content added Content deleted
(→{{header|UNIX Shell}}: Add implementation) |
|||
Line 16,151: | Line 16,151: | ||
# display a matrix |
# display a matrix |
||
function disp { |
function disp { |
||
# remove sed for more compact display |
|||
printf '%s\n' "$@" | sed 's/./ &/g' |
|||
} |
} |
||
Line 16,255: | Line 16,256: | ||
.@. |
.@. |
||
.@.</pre> |
.@.</pre> |
||
=={{header|Ursala}}== |
=={{header|Ursala}}== |
||
Three functions are defined: |
Three functions are defined: |