Conway's Game of Life: Difference between revisions

Content added Content deleted
m (syntax highlighting fixup automation)
m (→‎{{header|OCTAVE}}: Fixed language name.)
Line 10,136: Line 10,136:
Compile with: <pre>opam install graphics && ocamlopt -o life -I $(ocamlfind query graphics) graphics.cmxa life.ml</pre> and run with <pre>./life acorn 250 250</pre> If you run the blinker it will probably blink too fast to see unless you choose a large grid size.
Compile with: <pre>opam install graphics && ocamlopt -o life -I $(ocamlfind query graphics) graphics.cmxa life.ml</pre> and run with <pre>./life acorn 250 250</pre> If you run the blinker it will probably blink too fast to see unless you choose a large grid size.


=={{header|OCTAVE}}==
=={{header|Octave}}==
1st order two variable recurrence relation m-file, will also run under MATLAB.
1st order two variable recurrence relation m-file, will also run under MATLAB.


Line 10,214: Line 10,214:
endfor
endfor
</syntaxhighlight>
</syntaxhighlight>



=={{header|Ol}}==
=={{header|Ol}}==