title: Classic Game "Circle the Cat" algorithm?
body: <p>Hi I was playing this game "Circle the Cat"
  <a href="http://www.gamedesign.jp/flash/chatnoir/chatnoir.html" rel="noreferrer">http://www.gamedesign.jp/flash/chatnoir/chatnoir.html</a></p>
  
  <p>I was wondering what algorithm makes the cat "intelligent"? How does the cat decide which direction to take?</p>
  
  <p>One solution that comes to my mind is breadth first search and go in the direction with the shortest exit path.</p>
  
  <p>I'm just inquisitive here. :-)</p>