ponychallenge-trustpilot:Soltoin应对Trustpilot的小马挑战

时间:2024-05-19 07:26:54
【文件属性】:

文件名称:ponychallenge-trustpilot:Soltoin应对Trustpilot的小马挑战

文件大小:292KB

文件格式:ZIP

更新时间:2024-05-19 07:26:54

trustpilot truspilot-api TypeScript

Trustpilot小马挑战的解决方案 这是对trustpilot完整解决方案。 在存储库检查对trustpilots字谜代码挑战的解决方案 一家名为的公司雇用开发人员。 考生应提交针对其代码挑战的解决方案。 这是解决小马挑战的方法。 任务 Trustpilot提供了游戏api ,可让您创建迷宫,然后引导小马退出。 Domokun(怪物)追逐小马。 如果小马到达出口,则您获胜;如果Domokun超越小马,则您将松懈。 api生成的迷宫看起来像是一个完美的迷宫,这意味着两个单元中的任何一个之间只有一条路径。 这意味着,当小马和domokun都做出举动时(这是在难度级别10上实现的),那么由初始位置由谁来决定玩家是放松还是获胜。 同样,在非完美的迷宫中,可能存在一个“循环”,小马可以用它来愚弄domokun。 但是迷宫是完美的,所以对于这个游戏,我使用以下策略: 计算从小马位置到退出


【文件预览】:
ponychallenge-trustpilot-master
----public()
--------manifest.json(317B)
--------index.html(2KB)
--------favicon.ico(4KB)
----yarn.lock(358KB)
----src()
--------Main.tsx(2KB)
--------registerServiceWorker.ts(4KB)
--------pages()
--------index.tsx(290B)
--------reducer()
--------stories()
--------logo.svg(3KB)
--------index.css(63B)
--------components()
--------actions()
--------dashthroughmaze()
--------registerServiceWorker.js(4KB)
--------api()
--------App.css(430B)
--------App.tsx(707B)
--------index.js(254B)
--------htmlgen()
----scripts()
--------build.js(5KB)
--------test.js(734B)
--------start.js(3KB)
----ponychallenge-trustpilot.iml(335B)
----lib()
--------trustpilot-api-proxy.js(1KB)
----tsconfig.test.json(87B)
----.storybook()
--------webpack.config.js(498B)
--------config.js(285B)
--------addons.js(128B)
----tsconfig.json(626B)
----config()
--------jest()
--------env.js(3KB)
--------webpack.config.prod.js(16KB)
--------webpack.config.dev.js(13KB)
--------webpackDevServer.config.js(5KB)
--------polyfills.js(856B)
--------paths.js(2KB)
----LICENSE(1KB)
----tslint.json(3KB)
----README.md(50KB)
----.gitignore(297B)
----package-lock.json(553KB)
----package.json(4KB)

网友评论