# Extended game-form with egameps.sty: no branches

I'm trying to learn to create extended game-forms with LaTeX, but I don't get branches. The example code I've downloaded is:

\documentclass{article}
\usepackage{pstricks}
\usepackage{egameps}
\begin{document}

\begin{figure}[htb]
\hspace*{\fill}
\begin{egame}(600,280)
\putbranch(300,240)(2,1){200} \iib{1}{$C$}{$D$}
\putbranch(100,140)(1,1){100} \iib{}{$c$}{$d$}[$3,3$][$1,4$]
\putbranch(500,140)(1,1){100} \iib{}{$c$}{$d$}[$1,4$][$2,2$]
\infoset(100,140){400}{2}
\end{egame}
\hspace*{\fill} \caption[]{Sample Game}\label{mygame}
\end{figure}
\end{document}


But I only get this:

Is there anyone who knows how to fix this issue?

-
This runs fine for me with XeLaTeX so you must not be processing the file correctly. Also, if you are not already committed to using egameps, you should have a look at tikz. – Peter Grill Feb 8 '12 at 21:11

egameps uses pstricks to draw the lines between nodes. As such, you require a latex>dvips>ps2pdf or xelatex compilation sequence to obtain a PDF as output.
For drawing something similar directly in PDF, you could consider using tikz. There are numerous examples on this site, or you can follow the rich package documentation.