Tic-Tic-Toe made in Scala with unbeatable AI