003 · UC Berkeley CS188 — Pacman 项目
| 项目 | 内容 |
|---|---|
| 学校 | UC Berkeley |
| 课程 | UC Berkeley CS188 Artificial Intelligence |
| 方向 | 人工智能 / Artificial intelligence |
| 语言 | Python |
| 难度 | 进阶 / Intermediate–advanced |
| 预计耗时 | 4–8 天 / 4–8 days |
为什么收录
Pacman 用同一个游戏场景串起搜索、对抗搜索、MDP、强化学习和贝叶斯推断:题目有趣,但背后是 AI 的核心算法体系。
Pacman uses one game to carry search, adversarial search, MDPs, reinforcement learning, and Bayesian inference — an engaging wrapper around core AI algorithms.
English: The project is pedagogically excellent because each project builds on the previous one while keeping the same concrete, visual domain.
实测结果
- 5 项测试全部通过 / 5 tests pass
- Q-learning:平均步数从 25.6(前 10 轮)降到 9.6(后 10 轮)/ measurable learning curve
- A* 绕墙找到 10 步最短路径;Pacman 13 步吃光 3 颗豆子(终局地图见 05)
- 详见 05-调试与测试.md 的真实轨迹与输出