https://blog.devgenius.io/tic-tac-toe-reinforcement-learning-q-learning-agent-training-and-gameplay-0d9b96ed09c9