CS50 AI with Python – Lecture 4: Learning – Problem Set 1: Nim
Sep 21, 2025 · 6 min read · 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...
Join discussion


