# examples of initial states in the Game of Life

## Primary tabs

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

## Mathematics Subject Classification

91A99 no label found

## Comments

### another way of illustrating life states

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}

### Re: another way of illustrating life states

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.