\documentclass[tikz,border=10pt]{standalone}
                        \IfFileExists{newpxtext.sty}{\usepackage{newpxtext,newpxmath}}{}
                        \linespread{1.10}
                        \usetikzlibrary{shapes}
                        \usetikzlibrary{arrows.meta}
                        \usepackage{graphicx}

                        \begin{document}

                        % TikZ code with built-in styling for game trees
% TikZ libraries required for game trees
\usetikzlibrary{shapes}
\usetikzlibrary{arrows.meta}

% Style settings for game tree formatting
\tikzset{
    every node/.append style={font=\sffamily\itshape},
    every text node part/.append style={align=center},
    node distance=1.5mm,
    thick
}

% Built-in macro definitions for game tree drawing
\newdimen\ndiam
\ndiam1.5mm
\newdimen\sqwidth
\sqwidth1.6mm
\newdimen\spx
\spx.7mm
\newdimen\spy
\spy.5mm
\newdimen\paydown
\paydown2.5ex
\newdimen\treethickn
\treethickn1.0pt
\definecolor{chancecolor}{RGB}{117,145,56}
\definecolor{p1rgb}{RGB}{0,127,255}
\definecolor{p2rgb}{RGB}{221,121,224}

% Game tree content from /home/docs/checkouts/readthedocs.org/user_builds/gambitproject/checkouts/latest/catalog/books/shohamleytonbrown2008/fig5_9__original_layout.ef
\begin{tikzpicture}[scale=0.8
  , StealthFill/.tip={Stealth[line width=.7pt,inset=0pt,length=13pt,angle'=30]}]
% \draw [help lines, color=green] (-5,0) grid (5,-6);
%% player 1 name 1
\def\playerone{1}
%% player 2 name 2
\def\playertwo{2}
%% level 0 node 1 player 1
\draw [line width=\treethickn] (0,-0)
   ;
%% level 2 node 1 xshift -2.31 from 0,1 move A payoffs 1 0
\draw [line width=\treethickn,color=p1rgb] (-2.31,-2)
   node[below,yshift=0.1\paydown,color=p1rgb] {$\mathsf{1}\strut$}
   node[below,yshift=-0.9\paydown,color=p2rgb] {$\mathsf{0}\strut$}
   -- (0,-0);
\draw (-1.155,-1) node[left,xshift=-0.5mm,color=p1rgb] {A\strut};
%% level 2 node 2 player 2 xshift 2.31 from 0,1 move D
\draw [line width=\treethickn,color=p1rgb] (2.31,-2)
   -- (0,-0);
\draw (1.155,-1) node[right,xshift=0.5mm,color=p1rgb] {D\strut};
%% level 4 node 1 xshift -2.24 from 2,2 move A payoffs 0 2
\draw [line width=\treethickn,color=p2rgb] (0.07,-4)
   node[below,yshift=0.1\paydown,color=p1rgb] {$\mathsf{0}\strut$}
   node[below,yshift=-0.9\paydown,color=p2rgb] {$\mathsf{2}\strut$}
   -- (2.31,-2);
\draw (1.19,-3) node[left,xshift=-0.5mm,color=p2rgb] {A\strut};
%% level 4 node 2 player 1 xshift 2.24 from 2,2 move D
\draw [line width=\treethickn,color=p2rgb] (4.55,-4)
   -- (2.31,-2);
\draw (3.43,-3) node[right,xshift=0.5mm,color=p2rgb] {D\strut};
%% level 6 node 1 xshift -2.09 from 4,2 move A payoffs 3 1
\draw [line width=\treethickn,color=p1rgb] (2.46,-6)
   node[below,yshift=0.1\paydown,color=p1rgb] {$\mathsf{3}\strut$}
   node[below,yshift=-0.9\paydown,color=p2rgb] {$\mathsf{1}\strut$}
   -- (4.55,-4);
\draw (3.505,-5) node[left,xshift=-0.5mm,color=p1rgb] {A\strut};
%% level 6 node 2 player 2 xshift 2.09 from 4,2 move D
\draw [line width=\treethickn,color=p1rgb] (6.64,-6)
   -- (4.55,-4);
\draw (5.595,-5) node[right,xshift=0.5mm,color=p1rgb] {D\strut};
%% level 8 node 1 xshift -1.79 from 6,2 move A payoffs 2 4
\draw [line width=\treethickn,color=p2rgb] (4.85,-8)
   node[below,yshift=0.1\paydown,color=p1rgb] {$\mathsf{2}\strut$}
   node[below,yshift=-0.9\paydown,color=p2rgb] {$\mathsf{4}\strut$}
   -- (6.64,-6);
\draw (5.745,-7) node[left,xshift=-0.5mm,color=p2rgb] {A\strut};
%% level 8 node 2 player 1 xshift 1.79 from 6,2 move D
\draw [line width=\treethickn,color=p2rgb] (8.43,-8)
   -- (6.64,-6);
\draw (7.535,-7) node[right,xshift=0.5mm,color=p2rgb] {D\strut};
%% level 10 node 1 xshift -1.19 from 8,2 move A payoffs 4 3
\draw [line width=\treethickn,color=p1rgb] (7.24,-10)
   node[below,yshift=0.1\paydown,color=p1rgb] {$\mathsf{4}\strut$}
   node[below,yshift=-0.9\paydown,color=p2rgb] {$\mathsf{3}\strut$}
   -- (8.43,-8);
\draw (7.835,-9) node[left,xshift=-0.5mm,color=p1rgb] {A\strut};
%% level 10 node 2 xshift 1.19 from 8,2 move D payoffs 3 5
\draw [line width=\treethickn,color=p1rgb] (9.62,-10)
   node[below,yshift=0.1\paydown,color=p1rgb] {$\mathsf{3}\strut$}
   node[below,yshift=-0.9\paydown,color=p2rgb] {$\mathsf{5}\strut$}
   -- (8.43,-8);
\draw (9.025,-9) node[right,xshift=0.5mm,color=p1rgb] {D\strut};
\node[inner sep=0pt,minimum size=\ndiam,draw=p1rgb,fill=p1rgb,shape=circle] at (0,-0) {};
\node[inner sep=0pt,minimum size=\ndiam,draw=p2rgb,fill=p2rgb,shape=circle] at (2.31,-2) {};
\node[inner sep=0pt,minimum size=\ndiam,draw=p1rgb,fill=p1rgb,shape=circle] at (4.55,-4) {};
\node[inner sep=0pt,minimum size=\ndiam,draw=p2rgb,fill=p2rgb,shape=circle] at (6.64,-6) {};
\node[inner sep=0pt,minimum size=\ndiam,draw=p1rgb,fill=p1rgb,shape=circle] at (8.43,-8) {};

% Player color legend
\begin{scope}[scale=1,shift={(-3.81,-0.0)}]
\node[inner sep=0pt,minimum size=\ndiam,draw=p1rgb,fill=p1rgb,shape=circle] at (0,0) {};
\node[anchor=west] at (0.3,0) {1};
\node[inner sep=0pt,minimum size=\ndiam,draw=p2rgb,fill=p2rgb,shape=circle] at (0,-0.625) {};
\node[anchor=west] at (0.3,-0.625) {2};
\end{scope}

\end{tikzpicture}

                        \end{document}
                        