Re-ordered function definitions.
[cellular-automata.git] / 004 / life.awk
index ff80828..c996455 100755 (executable)
@@ -22,14 +22,6 @@ function get_init_board(n) {
 }
 
 
-function do_print_border(x) {
-    for (i=1; i <= x; i++) {
-        printf CHAR_BORDER()
-    };
-    print;
-}
-
-
 function get_char_of_state(state) {
     if (state == 1) {
         return CHAR_ALIVE()
@@ -39,6 +31,14 @@ function get_char_of_state(state) {
 }
 
 
+function do_print_border(x) {
+    for (i=1; i <= x; i++) {
+        printf CHAR_BORDER()
+    };
+    print;
+}
+
+
 function do_print_board(x, n, board) {
     do_print_border(x);
 
This page took 0.02839 seconds and 4 git commands to generate.