out ever returning to <code class="language-c++ highlighter-rouge"><span class="n">main</span></code>. Here is a diagram of call flow
with (left) and without (right) chaining:</p>

<div class="language-c++ bad col-sm-6 highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c1">// chained control flow</span>
<span class="n">main</span>
<span class="o">|</span>
<span class="o">+--</span> <span class="n">doGame</span>
    <span class="o">|</span>
    <span class="o">+--</span> <spa