Build your own MENACE (matchbox-powered machine learning computer)
mscroggs.co.uk
mscroggs.co.uk
https://pypi.org/project/lex-game/
The code uses excel files instead of matchboxes... It was in fact an example intended to explore further the use of some libraries for office automation. It also allowed for easy seeing of the weights for different choices, still in a structured way even if outside the program itself.