Practice machine learning by making tic-tac-toe brains