Tic-tac-toe learning agent implemented with feature learning