Goal
Beat the random opponent.
State space
Encoded 3×3 board
Action space
Nine cells
Reward function
+1 win, 0 draw, -1 loss, -5 for an illegal move
Success conditions
A win
Failure / termination conditions
End of the game
How it was tested
Win, draw and illegal-move rules are tested.
