%% Charlie Redmon
%% 20170911
%% Game theory tree diagram example

\documentclass[border=15pt]{standalone}

\input{setupGameTheoryStyle.tex}

\begin{document}

\begin{tikzpicture}[scale=1.5,font=\footnotesize]

% set top (root) node (level 1)
\node(0)[solid node,label=above:{$1$}] {}
    % child L (left node, level 2)
    child{ node(1)[solid node, label=right:{$2$}] {}
      % child L.R
      child{ node[hollow node, label=below:{$(-1,1)$}]{} 
        edge from parent node[left]{$H$}}
      % child L.L
      child{ node[hollow node, label=below:{$(1,-1)$}]{} 
        edge from parent node[right]{$T$}}
      edge from parent node[left,xshift=-3]{$H$}
    }
    % child R
    child{ node(2)[solid node, label=right:{$2$}] {}
      % child R.L
      child{ node[hollow node, label=below:{$(1,-1)$}] {} 
        edge from parent node[left]{$H$}}
      % child R.R
      child{ node[hollow node,label=below:{$(-1,1)$}]{} 
        edge from parent node[right]{$T$}}
      edge from parent node[right,xshift=3]{$T$}
};

\end{tikzpicture}

\end{document}
