home
/
code
/
cellular-automata.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
443ef34
)
A more readable list.
author
Siraaj Khandkar
<siraaj@khandkar.net>
Tue, 28 Aug 2012 16:26:07 +0000
(12:26 -0400)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Tue, 28 Aug 2012 16:26:07 +0000
(12:26 -0400)
005/life.awk
patch
|
blob
|
blame
|
history
diff --git
a/005/life.awk
b/005/life.awk
index
101f66a
..
0e6fb02
100755
(executable)
--- a/
005/life.awk
+++ b/
005/life.awk
@@
-59,7
+59,7
@@
function get_new_state(state, live_neighbors) {
function set_generation(board, gen_id, y, x) {
- num_directions = split("N,
NE,E,SE,S,SW,W,NW", directions, ",
");
+ num_directions = split("N,
NE, E, SE, S, SW, W, NW", directions, ",
");
offsets["N" , "x"] = 0;
offsets["N" , "y"] = -1;
This page took
0.028995 seconds
and
4
git commands to generate.