\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{playeronecolor}{RGB}{234,51,35}
\colorlet{playertwocolor}{blue}
\colorlet{playerthreecolor}{orange}
\colorlet{playerfourcolor}{purple}
\colorlet{playerfivecolor}{cyan}
\colorlet{playersixcolor}{magenta}
\pgfdeclarelayer{labels}
\pgfsetlayers{main,labels}

% Game tree content from /home/docs/checkouts/readthedocs.org/user_builds/gambitproject/checkouts/936/catalog/img/books/bonanno18/fig12_18.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);
\draw [line width=\treethickn,color=playertwocolor] (-11,-1.625) arc(90:270:0.375)
  -- (11,-2.375) arc(-90:90:0.375) -- cycle;
\draw [line width=\treethickn,color=playerthreecolor] (-17,-5.625) arc(90:270:0.375)
  -- (7,-6.375) arc(-90:90:0.375) -- cycle;
%% player 1 name Player~1
\def\playerone{Player~1}
%% player 2 name Player~2
\def\playertwo{Player~2}
%% player 3 name Player~3
\def\playerthree{Player~3}
%% level -2.0 node 1 player 1
\draw [line width=\treethickn] (0,2)
   ;
%% level 2.0 node 1 xshift -11.0 from -2.0,1 move Off
\draw [line width=\treethickn,color=playeronecolor] (-11,-2)
   -- (0,2);
\begin{pgfonlayer}{labels}
\draw (-5.5,0) node[left,xshift=-0.75mm,color=playeronecolor] {Off\strut};
\end{pgfonlayer}
%% level 6.0 node 1 xshift -6.0 from 2.0,1 move Off
\draw [line width=\treethickn,color=playertwocolor] (-17,-6)
   -- (-11,-2);
\begin{pgfonlayer}{labels}
\draw (-14,-4) node[left,xshift=-0.75mm,color=playertwocolor] {Off\strut};
\end{pgfonlayer}
%% level 10.0 node 1 xshift -4.0 from 6.0,1 move Guess~(Off,Off) payoffs 200 200 200
\draw [line width=\treethickn,color=playerthreecolor] (-21,-10)
   -- (-17,-6);
\begin{pgfonlayer}{labels}
\draw (-18,-7) node[color=playerthreecolor,fill=playerthreecolor,fill opacity=0.8,text opacity=1,text=white] {Guess~(Off,Off)\strut};
\end{pgfonlayer}
\begin{pgfonlayer}{labels}
\draw (-21,-10)   node[below,yshift=0.1\paydown,color=playeronecolor] {$\mathsf{200}\strut$};
\end{pgfonlayer}
\begin{pgfonlayer}{labels}
\draw (-21,-10)   node[below,yshift=-0.9\paydown,color=playertwocolor] {$\mathsf{200}\strut$};
\end{pgfonlayer}
\begin{pgfonlayer}{labels}
\draw (-21,-10)   node[below,yshift=-1.9\paydown,color=playerthreecolor] {$\mathsf{200}\strut$};
\end{pgfonlayer}
%% level 10.0 node 2 xshift 0.0 from 6.0,1 move Guess~(Off,On) payoffs 100 0 50
\draw [line width=\treethickn,color=playerthreecolor] (-17,-10)
   -- (-17,-6);
\begin{pgfonlayer}{labels}
\draw (-17,-8) node[color=playerthreecolor,fill=playerthreecolor,fill opacity=0.8,text opacity=1,text=white] {Guess~(Off,On)\strut};
\end{pgfonlayer}
\begin{pgfonlayer}{labels}
\draw (-17,-10)   node[below,yshift=0.1\paydown,color=playeronecolor] {$\mathsf{100}\strut$};
\end{pgfonlayer}
\begin{pgfonlayer}{labels}
\draw (-17,-10)   node[below,yshift=-0.9\paydown,color=playertwocolor] {$\mathsf{0}\strut$};
\end{pgfonlayer}
\begin{pgfonlayer}{labels}
\draw (-17,-10)   node[below,yshift=-1.9\paydown,color=playerthreecolor] {$\mathsf{50}\strut$};
\end{pgfonlayer}
%% level 10.0 node 3 xshift 4.0 from 6.0,1 move Guess~(On,Off) payoffs 0 100 50
\draw [line width=\treethickn,color=playerthreecolor] (-13,-10)
   -- (-17,-6);
\begin{pgfonlayer}{labels}
\draw (-14,-9) node[color=playerthreecolor,fill=playerthreecolor,fill opacity=0.8,text opacity=1,text=white] {Guess~(On,Off)\strut};
\end{pgfonlayer}
\begin{pgfonlayer}{labels}
\draw (-13,-10)   node[below,yshift=0.1\paydown,color=playeronecolor] {$\mathsf{0}\strut$};
\end{pgfonlayer}
\begin{pgfonlayer}{labels}
\draw (-13,-10)   node[below,yshift=-0.9\paydown,color=playertwocolor] {$\mathsf{100}\strut$};
\end{pgfonlayer}
\begin{pgfonlayer}{labels}
\draw (-13,-10)   node[below,yshift=-1.9\paydown,color=playerthreecolor] {$\mathsf{50}\strut$};
\end{pgfonlayer}
%% level 6.0 node 2 xshift 6.0 from 2.0,1 move On
\draw [line width=\treethickn,color=playertwocolor] (-5,-6)
   -- (-11,-2);
\begin{pgfonlayer}{labels}
\draw (-8,-4) node[right,xshift=0.75mm,color=playertwocolor] {On\strut};
\end{pgfonlayer}
%% level 10.0 node 4 xshift -4.0 from 6.0,2 move Guess~(Off,Off) payoffs 100 0 50
\draw [line width=\treethickn,color=playerthreecolor] (-9,-10)
   -- (-5,-6);
\begin{pgfonlayer}{labels}
\draw (-6,-7) node[color=playerthreecolor,fill=playerthreecolor,fill opacity=0.8,text opacity=1,text=white] {Guess~(Off,Off)\strut};
\end{pgfonlayer}
\begin{pgfonlayer}{labels}
\draw (-9,-10)   node[below,yshift=0.1\paydown,color=playeronecolor] {$\mathsf{100}\strut$};
\end{pgfonlayer}
\begin{pgfonlayer}{labels}
\draw (-9,-10)   node[below,yshift=-0.9\paydown,color=playertwocolor] {$\mathsf{0}\strut$};
\end{pgfonlayer}
\begin{pgfonlayer}{labels}
\draw (-9,-10)   node[below,yshift=-1.9\paydown,color=playerthreecolor] {$\mathsf{50}\strut$};
\end{pgfonlayer}
%% level 10.0 node 5 xshift 0.0 from 6.0,2 move Guess~(Off,On) payoffs 200 200 200
\draw [line width=\treethickn,color=playerthreecolor] (-5,-10)
   -- (-5,-6);
\begin{pgfonlayer}{labels}
\draw (-5,-8) node[color=playerthreecolor,fill=playerthreecolor,fill opacity=0.8,text opacity=1,text=white] {Guess~(Off,On)\strut};
\end{pgfonlayer}
\begin{pgfonlayer}{labels}
\draw (-5,-10)   node[below,yshift=0.1\paydown,color=playeronecolor] {$\mathsf{200}\strut$};
\end{pgfonlayer}
\begin{pgfonlayer}{labels}
\draw (-5,-10)   node[below,yshift=-0.9\paydown,color=playertwocolor] {$\mathsf{200}\strut$};
\end{pgfonlayer}
\begin{pgfonlayer}{labels}
\draw (-5,-10)   node[below,yshift=-1.9\paydown,color=playerthreecolor] {$\mathsf{200}\strut$};
\end{pgfonlayer}
%% level 10.0 node 6 xshift 4.0 from 6.0,2 move Guess~(On,Off) payoffs 0 0 0
\draw [line width=\treethickn,color=playerthreecolor] (-1,-10)
   -- (-5,-6);
\begin{pgfonlayer}{labels}
\draw (-2,-9) node[color=playerthreecolor,fill=playerthreecolor,fill opacity=0.8,text opacity=1,text=white] {Guess~(On,Off)\strut};
\end{pgfonlayer}
\begin{pgfonlayer}{labels}
\draw (-1,-10)   node[below,yshift=0.1\paydown,color=playeronecolor] {$\mathsf{0}\strut$};
\end{pgfonlayer}
\begin{pgfonlayer}{labels}
\draw (-1,-10)   node[below,yshift=-0.9\paydown,color=playertwocolor] {$\mathsf{0}\strut$};
\end{pgfonlayer}
\begin{pgfonlayer}{labels}
\draw (-1,-10)   node[below,yshift=-1.9\paydown,color=playerthreecolor] {$\mathsf{0}\strut$};
\end{pgfonlayer}
%% level 2.0 node 2 xshift 11.0 from -2.0,1 move On
\draw [line width=\treethickn,color=playeronecolor] (11,-2)
   -- (0,2);
\begin{pgfonlayer}{labels}
\draw (5.5,0) node[right,xshift=0.75mm,color=playeronecolor] {On\strut};
\end{pgfonlayer}
%% level 6.0 node 3 xshift -4.0 from 2.0,2 move Off
\draw [line width=\treethickn,color=playertwocolor] (7,-6)
   -- (11,-2);
\begin{pgfonlayer}{labels}
\draw (9,-4) node[left,xshift=-0.75mm,color=playertwocolor] {Off\strut};
\end{pgfonlayer}
%% level 10.0 node 7 xshift -4.0 from 6.0,3 move Guess~(Off,Off) payoffs 0 100 50
\draw [line width=\treethickn,color=playerthreecolor] (3,-10)
   -- (7,-6);
\begin{pgfonlayer}{labels}
\draw (6,-7) node[color=playerthreecolor,fill=playerthreecolor,fill opacity=0.8,text opacity=1,text=white] {Guess~(Off,Off)\strut};
\end{pgfonlayer}
\begin{pgfonlayer}{labels}
\draw (3,-10)   node[below,yshift=0.1\paydown,color=playeronecolor] {$\mathsf{0}\strut$};
\end{pgfonlayer}
\begin{pgfonlayer}{labels}
\draw (3,-10)   node[below,yshift=-0.9\paydown,color=playertwocolor] {$\mathsf{100}\strut$};
\end{pgfonlayer}
\begin{pgfonlayer}{labels}
\draw (3,-10)   node[below,yshift=-1.9\paydown,color=playerthreecolor] {$\mathsf{50}\strut$};
\end{pgfonlayer}
%% level 10.0 node 8 xshift 0.0 from 6.0,3 move Guess~(Off,On) payoffs 0 0 0
\draw [line width=\treethickn,color=playerthreecolor] (7,-10)
   -- (7,-6);
\begin{pgfonlayer}{labels}
\draw (7,-8) node[color=playerthreecolor,fill=playerthreecolor,fill opacity=0.8,text opacity=1,text=white] {Guess~(Off,On)\strut};
\end{pgfonlayer}
\begin{pgfonlayer}{labels}
\draw (7,-10)   node[below,yshift=0.1\paydown,color=playeronecolor] {$\mathsf{0}\strut$};
\end{pgfonlayer}
\begin{pgfonlayer}{labels}
\draw (7,-10)   node[below,yshift=-0.9\paydown,color=playertwocolor] {$\mathsf{0}\strut$};
\end{pgfonlayer}
\begin{pgfonlayer}{labels}
\draw (7,-10)   node[below,yshift=-1.9\paydown,color=playerthreecolor] {$\mathsf{0}\strut$};
\end{pgfonlayer}
%% level 10.0 node 9 xshift 4.0 from 6.0,3 move Guess~(On,Off) payoffs 200 200 200
\draw [line width=\treethickn,color=playerthreecolor] (11,-10)
   -- (7,-6);
\begin{pgfonlayer}{labels}
\draw (10,-9) node[color=playerthreecolor,fill=playerthreecolor,fill opacity=0.8,text opacity=1,text=white] {Guess~(On,Off)\strut};
\end{pgfonlayer}
\begin{pgfonlayer}{labels}
\draw (11,-10)   node[below,yshift=0.1\paydown,color=playeronecolor] {$\mathsf{200}\strut$};
\end{pgfonlayer}
\begin{pgfonlayer}{labels}
\draw (11,-10)   node[below,yshift=-0.9\paydown,color=playertwocolor] {$\mathsf{200}\strut$};
\end{pgfonlayer}
\begin{pgfonlayer}{labels}
\draw (11,-10)   node[below,yshift=-1.9\paydown,color=playerthreecolor] {$\mathsf{200}\strut$};
\end{pgfonlayer}
%% level 8.0 node 1 xshift 4.0 from 2.0,2 move On payoffs 100 100 300
\draw [line width=\treethickn,color=playertwocolor] (15,-8)
   -- (11,-2);
\begin{pgfonlayer}{labels}
\draw (13,-5) node[right,xshift=0.75mm,color=playertwocolor] {On\strut};
\end{pgfonlayer}
\begin{pgfonlayer}{labels}
\draw (15,-8)   node[below,yshift=0.1\paydown,color=playeronecolor] {$\mathsf{100}\strut$};
\end{pgfonlayer}
\begin{pgfonlayer}{labels}
\draw (15,-8)   node[below,yshift=-0.9\paydown,color=playertwocolor] {$\mathsf{100}\strut$};
\end{pgfonlayer}
\begin{pgfonlayer}{labels}
\draw (15,-8)   node[below,yshift=-1.9\paydown,color=playerthreecolor] {$\mathsf{300}\strut$};
\end{pgfonlayer}
%% iset 2.0,1 2.0,2 player 2
%% iset 6.0,1 6.0,2 6.0,3 player 3
\node[inner sep=0pt,minimum size=\ndiam,draw=playeronecolor,fill=playeronecolor,shape=circle] at (0,2) {};
\node[inner sep=0pt,minimum size=\ndiam,draw=playertwocolor,fill=playertwocolor,shape=circle] at (-11,-2) {};
\node[inner sep=0pt,minimum size=\ndiam,draw=playerthreecolor,fill=playerthreecolor,shape=circle] at (-17,-6) {};
\node[inner sep=0pt,minimum size=\ndiam,draw=playerthreecolor,fill=playerthreecolor,shape=circle] at (-5,-6) {};
\node[inner sep=0pt,minimum size=\ndiam,draw=playertwocolor,fill=playertwocolor,shape=circle] at (11,-2) {};
\node[inner sep=0pt,minimum size=\ndiam,draw=playerthreecolor,fill=playerthreecolor,shape=circle] at (7,-6) {};

% Player color legend
\begin{scope}[scale=1,shift={(-22.5,2.0)}]
\node[inner sep=0pt,minimum size=\ndiam,draw=playeronecolor,fill=playeronecolor,shape=circle] at (0,0) {};
\node[anchor=west] at (0.3,0) {Player~1};
\node[inner sep=0pt,minimum size=\ndiam,draw=playertwocolor,fill=playertwocolor,shape=circle] at (0,-0.625) {};
\node[anchor=west] at (0.3,-0.625) {Player~2};
\node[inner sep=0pt,minimum size=\ndiam,draw=playerthreecolor,fill=playerthreecolor,shape=circle] at (0,-1.25) {};
\node[anchor=west] at (0.3,-1.25) {Player~3};
\end{scope}

\end{tikzpicture}

                        \end{document}
                        