CS50 AI with Python – Lecture 4: Learning – Problem Set 1: Nim
Preface
The second assignment of this lecture is Nim — a seemingly simple game, but one with surprisingly subtle strategy. The goal is to write an AI that doesn’t start out knowing how to win, but instead learns a winning strategy through reinforceme...
ai-learning-shichun.hashnode.dev6 min read