Tic-Tac-Toe - Ai
- August 23, 2023
- LeeBeeGames
Reinforcement Learning and how it works The tic-tac-toe agent uses reinforcement learning to improve its gameplay. Each turn, it examines the board's state and decides where to place its token (either O or X). It decides where to play its token by looking at a table of values. In the table, each state and possible action (token placement) will have a value ranging from -1 to 1. During play, the ag…