Are any solutions more likely than any others?
How are you getting an "optimal play algorithm" when the entire game is about using what you know to filter the solutions that are still possible?
https://en.wikipedia.org/wiki/Mastermind_(board_game)#Algori... https://en.wikipedia.org/wiki/Minimax#In_zero-sum_games
One of the early solutions to mastermind was by Donald Knuth. paper: https://www.cs.uni.edu/~wallingf/teaching/cs3530/resources/k... an implementation: https://github.com/johnathanlouie/mastermind
further development: https://arxiv.org/abs/1908.06183
Are any solutions more likely than any others?
How are you getting an "optimal play algorithm" when the entire game is about using what you know to filter the solutions that are still possible?