Fork me on GitHub
Math for the people, by the people.

User login

examples of initial states in the Game of Life

Major Section: 
Reference
Type of Math Object: 
Example
Parent: 

Mathematics Subject Classification

91A99 no label found

Comments

You can use PSTricks to make graphics to illustrate states
in the game of life.

If you add the lines

\usepackage{pstricks}
\newcommand{\smallbox}{\psframe*(0,0)(0.9,0.9)}

to your preamble, all you need to do is make a \pspicture
of the appropriate size and \put copies of \smallbox
wherever you want.

For example, to illustrate the glider, you can do

\begin{figure}[hh]
\begin{center}
\begin{pspicture}(0,0)(5,5)
\put(1,1){\smallbox}
\put(2,1){\smallbox}
\put(3,1){\smallbox}
\put(1,2){\smallbox}
\put(2,3){\smallbox}
\end{pspicture}
\caption{The initial state of a glider.}
\end{center}
\end{figure}

It works. Thank you very much for your suggestion. I'll let the grammar soak up in my mind overnight. Tomorrow I will change the others and maybe add more examples.

Subscribe to Comments for "examples of initial states in the Game of Life"