title: Make the computer never lose at Tic-Tac-Toe
body: <p>I am working on a simple game of Tic Tac Toe code for C. I have most of the code finished, but I want the AI to never lose. </p>
  
  <p>I have read about the minimax algorithm, but I don't understand it.  How do I use this algorithm to enable the computer to either Win or Draw but never lose?</p>