I'm looking to find the name of a (purportedly) educational Mac game I purchased from a book fair handout around 1990–91.
The concept was that you would make up the rules to your own board game on a tic-tac-toe like grid. The computer would then play against you, and you told it who won. It would then use that information to try to infer the rules of the game and improve its play on the next round.
A similar program existed on the Apple II. The Mac version is likely a derivative. – @AlexHajnal