import{s as ot,f as it,n as ut,o as mt}from"../chunks/scheduler.37c15a92.js";import{S as pt,i as ft,g as a,s,r as O,A as ct,h as r,f as n,c as i,j as at,u as R,x as u,k as C,y as gt,a as l,v as D,d as F,t as J,w as K}from"../chunks/index.2bf4358c.js";import{H as rt}from"../chunks/Heading.8ada512a.js";import{E as _t}from"../chunks/getInferenceSnippets.0aa3753f.js";function ht(Q){let o,T,b,H,m,P,p,V,k,f,W="🎶 我想成为最强的…🎶",A,c,X="欢迎来到这个<strong>奖励单元</strong>，你将探索<strong>AI 智能体和游戏</strong>的激动人心的交汇点！🎮🤖",I,g,Y="想象一个游戏，其中非玩家角色（NPC）不仅仅遵循脚本台词，而是进行动态对话，适应你的策略，并随着故事展开而发展。这就是在游戏中结合<strong>LLM 和智能体行为</strong>的力量：它为<strong>前所未有的涌现叙事和游戏玩法</strong>打开了大门。",y,_,Z="在这个奖励单元中，你将：",E,h,tt="<li>学习如何构建一个能够参与<strong>宝可梦风格回合制战斗</strong>的 AI 智能体</li> <li>与它对战，甚至在线挑战其他智能体</li>",q,v,et='我们已经从 AI 社区看到了一些使用 LLM 玩宝可梦的<a href="https://www.anthropic.com/research/visible-extended-thinking" rel="nofollow">例子</a>，在这个单元中，你将学习如何使用你在课程中学到的想法用自己的智能体复制这一点。',G,$,nt,U,L,j,x,lt='<li><p>🎓 <strong>掌握游戏中的 LLM</strong>：通过我们的完整课程<a href="https://hf.co/learn/ml-games-course" rel="nofollow">游戏机器学习课程</a>深入游戏开发。</p></li> <li><p>📘 <strong>获取 AI 指南</strong>：在<a href="https://thomassimonini.substack.com/" rel="nofollow">游戏开发者 AI 指南</a>中发现见解、想法和实用技巧，在那里探索智能游戏设计的未来。</p></li>',S,M,st="但在我们构建之前，让我们通过<strong>四个鼓舞人心的现实世界例子</strong>来看看 LLM 已经如何在游戏中使用。",z,d,N,w,B;return m=new rt({props:{title:"介绍",local:"介绍",headingTag:"h1"}}),L=new rt({props:{title:"想要更深入？",local:"想要更深入",headingTag:"h2"}}),d=new _t({props:{source:"https://github.com/huggingface/agents-course/blob/main/units/zh-CN/bonus-unit3/introduction.mdx"}}),{c(){o=a("meta"),T=s(),b=a("p"),H=s(),O(m.$$.fragment),P=s(),p=a("img"),k=s(),f=a("p"),f.textContent=W,A=s(),c=a("p"),c.innerHTML=X,I=s(),g=a("p"),g.innerHTML=Y,y=s(),_=a("p"),_.textContent=Z,E=s(),h=a("ul"),h.innerHTML=tt,q=s(),v=a("p"),v.innerHTML=et,G=s(),$=a("img"),U=s(),O(L.$$.fragment),j=s(),x=a("ul"),x.innerHTML=lt,S=s(),M=a("p"),M.innerHTML=st,z=s(),O(d.$$.fragment),N=s(),w=a("p"),this.h()},l(t){const e=ct("svelte-u9bgzb",document.head);o=r(e,"META",{name:!0,content:!0}),e.forEach(n),T=i(t),b=r(t,"P",{}),at(b).forEach(n),H=i(t),R(m.$$.fragment,t),P=i(t),p=r(t,"IMG",{src:!0,alt:!0}),k=i(t),f=r(t,"P",{"data-svelte-h":!0}),u(f)!=="svelte-1ndqdsa"&&(f.textContent=W),A=i(t),c=r(t,"P",{"data-svelte-h":!0}),u(c)!=="svelte-1jxtov8"&&(c.innerHTML=X),I=i(t),g=r(t,"P",{"data-svelte-h":!0}),u(g)!=="svelte-1h48bux"&&(g.innerHTML=Y),y=i(t),_=r(t,"P",{"data-svelte-h":!0}),u(_)!=="svelte-1ce8taf"&&(_.textContent=Z),E=i(t),h=r(t,"UL",{"data-svelte-h":!0}),u(h)!=="svelte-jq0k3y"&&(h.innerHTML=tt),q=i(t),v=r(t,"P",{"data-svelte-h":!0}),u(v)!=="svelte-1pr4vbw"&&(v.innerHTML=et),G=i(t),$=r(t,"IMG",{src:!0,alt:!0}),U=i(t),R(L.$$.fragment,t),j=i(t),x=r(t,"UL",{"data-svelte-h":!0}),u(x)!=="svelte-1ehssk1"&&(x.innerHTML=lt),S=i(t),M=r(t,"P",{"data-svelte-h":!0}),u(M)!=="svelte-1rfuirg"&&(M.innerHTML=st),z=i(t),R(d.$$.fragment,t),N=i(t),w=r(t,"P",{}),at(w).forEach(n),this.h()},h(){C(o,"name","hf:doc:metadata"),C(o,"content",vt),it(p.src,V="https://huggingface.co/datasets/agents-course/course-images/resolve/main/en/bonus-unit3/pokemon_thumbnail.png")||C(p,"src",V),C(p,"alt","Bonus Unit 3 AI in Games"),it($.src,nt="https://huggingface.co/datasets/agents-course/course-images/resolve/main/en/bonus-unit3/claude-plays-pokemon.png")||C($,"src",nt),C($,"alt","Claude plays Pokémon")},m(t,e){gt(document.head,o),l(t,T,e),l(t,b,e),l(t,H,e),D(m,t,e),l(t,P,e),l(t,p,e),l(t,k,e),l(t,f,e),l(t,A,e),l(t,c,e),l(t,I,e),l(t,g,e),l(t,y,e),l(t,_,e),l(t,E,e),l(t,h,e),l(t,q,e),l(t,v,e),l(t,G,e),l(t,$,e),l(t,U,e),D(L,t,e),l(t,j,e),l(t,x,e),l(t,S,e),l(t,M,e),l(t,z,e),D(d,t,e),l(t,N,e),l(t,w,e),B=!0},p:ut,i(t){B||(F(m.$$.fragment,t),F(L.$$.fragment,t),F(d.$$.fragment,t),B=!0)},o(t){J(m.$$.fragment,t),J(L.$$.fragment,t),J(d.$$.fragment,t),B=!1},d(t){t&&(n(T),n(b),n(H),n(P),n(p),n(k),n(f),n(A),n(c),n(I),n(g),n(y),n(_),n(E),n(h),n(q),n(v),n(G),n($),n(U),n(j),n(x),n(S),n(M),n(z),n(N),n(w)),n(o),K(m,t),K(L,t),K(d,t)}}}const vt='{"title":"介绍","local":"介绍","sections":[{"title":"想要更深入？","local":"想要更深入","sections":[],"depth":2}],"depth":1}';function $t(Q){return mt(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Ct extends pt{constructor(o){super(),ft(this,o,$t,ht,ot,{})}}export{Ct as component};
