Stand up maths did an episode on a similar "machine" called MENACE (Machine Educable Noughts And Crosses Engine) that learns to play tick tac toe.
The video description has additional links to resources:
The video description has additional links to resources: