try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8aa7f4ca-3c43-42de-a7ac-30e311e7d3f2",e._sentryDebugIdIdentifier="sentry-dbid-8aa7f4ca-3c43-42de-a7ac-30e311e7d3f2")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5358],{9680:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(84573),o=n(5406),u=n(24716),l=n.n(u);function i(){return(0,r.jsxs)("div",{className:"max-w-2xl mx-auto flex flex-col gap-12 justify-center items-center",children:[(0,r.jsx)("h1",{children:"Games & Experiments"}),(0,r.jsxs)("p",{children:["Here are a few games and experiments to help you solidify the understanding of some of the concepts explained in"," ",(0,r.jsx)(l(),{href:"/books",children:"my books"})]}),(0,r.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,r.jsx)(s,{title:"Basketball",description:"A quick game to help you understand the importance of redistribution – even when you're better than those you redistribute to.",href:"/games/basketball"}),(0,r.jsx)(s,{title:"Skiing",description:"Three quick numerical examples to help you understand the concept of ergodicity and how it applies to selecting the best strategy.",href:"/games/skiing"}),(0,r.jsx)(s,{title:"Russian Roulette",description:"A quick game to help you understand the concept of ergodicity and the differences between time and population averages.",href:"/games/russian-roulette"}),(0,r.jsx)(s,{title:"Confidence Intervals",description:"A quick game to help you understand that 90% confidence means choosing LARGE intervals.",href:"/games/confidence"})]})]})}function s(e){let{title:t,description:n,href:u}=e;return(0,r.jsx)(l(),{href:u,className:"flex-1 !no-underline",children:(0,r.jsxs)("div",{className:"flex flex-col gap-4 border border-gray-200 rounded-lg shadow-md p-4 justify-between text-center items-center h-full",children:[(0,r.jsx)("h4",{children:t}),(0,r.jsx)("p",{className:"text-sm text-gray-500 !no-underline",children:n}),(0,r.jsx)(o.T,{color:"primary",children:"Play"})]})})}},13514:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},23868:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return o}});let r=n(66601);function o(e,t){let n=(0,r.useRef)(null),o=(0,r.useRef)(null);return(0,r.useCallback)(r=>{if(null===r){let e=n.current;e&&(n.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(n.current=u(e,r)),t&&(o.current=u(t,r))},[e,t])}function u(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let n=e(t);return"function"==typeof n?n:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},24716:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return g},useLinkStatus:function(){return m}});let r=n(88364),o=n(84573),u=r._(n(66601)),l=n(19907),i=n(41813),s=n(77824),a=n(23868),c=n(20065),f=n(50919);n(10908);let d=n(65188),p=n(22518),h=n(62596);function y(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}function g(e){let t,n,r,[l,g]=(0,u.useOptimistic)(d.IDLE_LINK_STATUS),m=(0,u.useRef)(null),{href:x,as:j,children:v,prefetch:_=null,passHref:k,replace:T,shallow:w,scroll:P,onClick:C,onMouseEnter:E,onTouchStart:O,legacyBehavior:I=!1,onNavigate:M,ref:N,unstable_dynamicOnHover:A,...L}=e;t=v,I&&("string"==typeof t||"number"==typeof t)&&(t=(0,o.jsx)("a",{children:t}));let R=u.default.useContext(i.AppRouterContext),S=!1!==_,D=null===_?s.PrefetchKind.AUTO:s.PrefetchKind.FULL,{href:K,as:U}=u.default.useMemo(()=>{let e=y(x);return{href:e,as:j?y(j):e}},[x,j]);I&&(n=u.default.Children.only(t));let q=I?n&&"object"==typeof n&&n.ref:N,B=u.default.useCallback(e=>(null!==R&&(m.current=(0,d.mountLinkInstance)(e,K,R,D,S,g)),()=>{m.current&&((0,d.unmountLinkForCurrentNavigation)(m.current),m.current=null),(0,d.unmountPrefetchableInstance)(e)}),[S,K,R,D,g]),F={ref:(0,a.useMergedRef)(B,q),onClick(e){I||"function"!=typeof C||C(e),I&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),R&&(e.defaultPrevented||function(e,t,n,r,o,l,i){let{nodeName:s}=e.currentTarget;if(!("A"===s.toUpperCase()&&function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||e.currentTarget.hasAttribute("download"))){if(!(0,p.isLocalURL)(t)){o&&(e.preventDefault(),location.replace(t));return}e.preventDefault(),u.default.startTransition(()=>{if(i){let e=!1;if(i({preventDefault:()=>{e=!0}}),e)return}(0,h.dispatchNavigateAction)(n||t,o?"replace":"push",null==l||l,r.current)})}}(e,K,U,m,T,P,M))},onMouseEnter(e){I||"function"!=typeof E||E(e),I&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),R&&S&&(0,d.onNavigationIntent)(e.currentTarget,!0===A)},onTouchStart:function(e){I||"function"!=typeof O||O(e),I&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),R&&S&&(0,d.onNavigationIntent)(e.currentTarget,!0===A)}};return(0,c.isAbsoluteUrl)(U)?F.href=U:I&&!k&&("a"!==n.type||"href"in n.props)||(F.href=(0,f.addBasePath)(U)),r=I?u.default.cloneElement(n,F):(0,o.jsx)("a",{...L,...F,children:t}),(0,o.jsx)(b.Provider,{value:l,children:r})}n(13514);let b=(0,u.createContext)(d.IDLE_LINK_STATUS),m=()=>(0,u.useContext)(b);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},52198:(e,t,n)=>{Promise.resolve().then(n.bind(n,9680))}},e=>{var t=t=>e(e.s=t);e.O(0,[915,8206,5406,1004,6306,7358],()=>t(52198)),_N_E=e.O()}]);