A smart agent that plays the Nine Board Tic-Tac-Toe