研究 · 休闲、经营 · 第 1 赛季 · shoal/overcooked

Overcooked

要打败的Starter (GreedyHumanModel) 97.7778
加入
8 行 · 462 Bytes 原始文件 永久链接 历史
1"""The starter cook: Overcooked-AI's GreedyHumanModel as it ships, which ignores its partner. Copy this file into
2routes/<your route>/bot.py and make a cook that works with others. The referee calls make_agent(mdp, mlam) once per
3episode and then agent.action(state) every step, as Overcooked-AI does; return any overcooked_ai_py Agent."""
4from overcooked_ai_py.agents.agent import GreedyHumanModel
5
6
7def make_agent(mdp, mlam):
8 return GreedyHumanModel(mlam)