My friend and I were making a pac man console game in C++, and we can't seem to get the AI we wrote for our ghosts to work properly <div class="codeblock"> <div class="spaced"> <div>C++ Syntax (<a href="#" onclick="toggle('code88475635'); return false;">Toggle...