import{s as at,a as X,n as ot,o as ut}from"../chunks/scheduler.be7fe76e.js";import{S as rt,i as mt,e as a,s,c as Z,h as ct,a as o,d as n,b as l,f as tt,g as et,j as m,k as P,l as ht,m as i,n as nt,t as it,o as st,p as lt}from"../chunks/index.0ce520ff.js";import{H as pt,E as ft}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.a207c8e3.js";function gt(O){let r,M,C,T,c,$,h,A,H,p,B="Welcome to the third unit of the course!",y,f,R="In this unit, we’ll <strong>explore how LLM-powered NPCs can create immersive gaming experiences</strong>.",z,g,U='To illustrate this, first you’ll dive into <em>NPC-Playground</em> created through the collaboration of the <a href="https://github.com/cubzh/cubzh" rel="nofollow">Cubzh</a> and <a href="https://github.com/GigaxGames/gigax" rel="nofollow">Gigax</a> teams, showcasing the potential of smart LLM-powered NPCs.',j,d,V='You can play with the demo directly on your browser 👉 <a href="https://huggingface.co/spaces/cubzh/ai-npcs" rel="nofollow">here</a>',E,v,W="In this 3D demo, you can <strong>interact with the NPCs and teach them new skills with just a few lines of Lua scripting!</strong>",k,u,Y="",F,I,_,J="Then, beyond just learning about the demo, <strong>you’ll have the opportunity to customize it, tweak NPC behaviors and teach them new skills.</strong>.",q,w,K="By customizing the game, <strong>you’ll gain confidence in navigating the Cubzh documentation and building new, unique experiences</strong>.",G,x,Q="Sounds fun? Let’s get started!",N,b,S,L,D;return c=new pt({props:{title:"Introduction",local:"introduction",headingTag:"h1"}}),b=new ft({props:{source:"https://github.com/huggingface/making-games-with-ai-course/blob/main/units/en/unit3/introduction.mdx"}}),{c(){r=a("meta"),M=s(),C=a("p"),T=s(),Z(c.$$.fragment),$=s(),h=a("img"),H=s(),p=a("p"),p.textContent=B,y=s(),f=a("p"),f.innerHTML=R,z=s(),g=a("p"),g.innerHTML=U,j=s(),d=a("p"),d.innerHTML=V,E=s(),v=a("p"),v.innerHTML=W,k=s(),u=a("video"),u.innerHTML=Y,I=s(),_=a("p"),_.innerHTML=J,q=s(),w=a("p"),w.innerHTML=K,G=s(),x=a("p"),x.textContent=Q,N=s(),Z(b.$$.fragment),S=s(),L=a("p"),this.h()},l(t){const e=ct("svelte-u9bgzb",document.head);r=o(e,"META",{name:!0,content:!0}),e.forEach(n),M=l(t),C=o(t,"P",{}),tt(C).forEach(n),T=l(t),et(c.$$.fragment,t),$=l(t),h=o(t,"IMG",{src:!0,alt:!0}),H=l(t),p=o(t,"P",{"data-svelte-h":!0}),m(p)!=="svelte-jhd3hx"&&(p.textContent=B),y=l(t),f=o(t,"P",{"data-svelte-h":!0}),m(f)!=="svelte-1hma0x5"&&(f.innerHTML=R),z=l(t),g=o(t,"P",{"data-svelte-h":!0}),m(g)!=="svelte-gf9qlw"&&(g.innerHTML=U),j=l(t),d=o(t,"P",{"data-svelte-h":!0}),m(d)!=="svelte-89psju"&&(d.innerHTML=V),E=l(t),v=o(t,"P",{"data-svelte-h":!0}),m(v)!=="svelte-g9uzmr"&&(v.innerHTML=W),k=l(t),u=o(t,"VIDEO",{src:!0,"data-svelte-h":!0}),m(u)!=="svelte-1i34pje"&&(u.innerHTML=Y),I=l(t),_=o(t,"P",{"data-svelte-h":!0}),m(_)!=="svelte-1ykq8gr"&&(_.innerHTML=J),q=l(t),w=o(t,"P",{"data-svelte-h":!0}),m(w)!=="svelte-1i53jfj"&&(w.innerHTML=K),G=l(t),x=o(t,"P",{"data-svelte-h":!0}),m(x)!=="svelte-1iimm0f"&&(x.textContent=Q),N=l(t),et(b.$$.fragment,t),S=l(t),L=o(t,"P",{}),tt(L).forEach(n),this.h()},h(){P(r,"name","hf:doc:metadata"),P(r,"content",dt),X(h.src,A="https://huggingface.co/datasets/huggingface-ml-4-games-course/course-images/resolve/main/en/unit3/thumbnail.png")||P(h,"src",A),P(h,"alt","Thumbnail"),u.controls="true",X(u.src,F="https://huggingface.co/datasets/huggingface-ml-4-games-course/course-images/resolve/main/en/unit3/demo.mp4")||P(u,"src",F)},m(t,e){ht(document.head,r),i(t,M,e),i(t,C,e),i(t,T,e),nt(c,t,e),i(t,$,e),i(t,h,e),i(t,H,e),i(t,p,e),i(t,y,e),i(t,f,e),i(t,z,e),i(t,g,e),i(t,j,e),i(t,d,e),i(t,E,e),i(t,v,e),i(t,k,e),i(t,u,e),i(t,I,e),i(t,_,e),i(t,q,e),i(t,w,e),i(t,G,e),i(t,x,e),i(t,N,e),nt(b,t,e),i(t,S,e),i(t,L,e),D=!0},p:ot,i(t){D||(it(c.$$.fragment,t),it(b.$$.fragment,t),D=!0)},o(t){st(c.$$.fragment,t),st(b.$$.fragment,t),D=!1},d(t){t&&(n(M),n(C),n(T),n($),n(h),n(H),n(p),n(y),n(f),n(z),n(g),n(j),n(d),n(E),n(v),n(k),n(u),n(I),n(_),n(q),n(w),n(G),n(x),n(N),n(S),n(L)),n(r),lt(c,t),lt(b,t)}}}const dt='{"title":"Introduction","local":"introduction","sections":[],"depth":1}';function vt(O){return ut(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class bt extends rt{constructor(r){super(),mt(this,r,vt,gt,at,{})}}export{bt as component};
