title: How to approach writing five-in-a-row Tic Tac Toe game AI?
body: <p>I was challenged by coworker into creating a Tic Tac Toe game AI that plays five-in-a-row games (not the traditional 3). My initial thoughts are that I create a "scoreboard", i.e. every cell in the game gets a score between 0 and infinite. The AI finds shapes and determines which places hold how much value and give score to the cells. In the end, highest scored cell is the choice.</p>
  
  <p>Is there a better way to approach this problem?</p>