I once wrote an educational game Noughts and Crosses Tic Tac Toe (or Noughts and Crosses ). Does it count?
Basically, he supported an array of elements 3 9 which was for each state of the game. At the end of each game, she would add one to all states during this game if she won. Or subtract it if it is lost (including rotations and mirror images for faster learning).
When deciding on a move, he only needed to consult with several options and choose the one that has the highest score.
As a result, it turned out not bad, but without playing a person who took too much time. He had to be freed by playing another copy of himself, a random bot and a hard-coded rule for many, many thousands of games.
When I unleashed it, he had 10 initial levels of intelligence, which were just different stages during the learning process.
My son is currently playing against the toughest level - he is only four years old, so I donβt want to be too rude on him, so they will study together (although he sometimes beats me in Connect Four , so maybe I should put on him even more pressure).
source share