https://www.youtube.com/watch?v=Qy2B4Xvpf-U (3k Views)
It was shown how it can be adapted to a game like TicTacToe by using the Q-Learning learning technique, which has no practical explanation although technical explanations can be found on the Internet.
- First of all, to train the AI model with different parameters. Use Agent Class's train_brain_x_byrandom or train_brain_y_byrandom functions.
- Then, agent.play_with_human()
- Enjoy !