freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/take-home-projects/build-a-pong-game.md

38 lines
1.6 KiB
Markdown
Raw Normal View History

---
id: 5a4b7fcdb66f799f199e11db
challengeType: 3
videoUrl: ''
localeTitle: 建立乒乓球比赛
---
## Description
2020-06-30 08:51:26 +00:00
<section id="description"> <strong>目标:</strong>构建一个功能类似于此的<a href="https://codepen.io" target="_blank">CodePen.io</a>应用程序: <a href="https://codepen.io/satyamdev/full/pdMmBp" target="_blank">https</a> <strong></strong> <a href="https://codepen.io" target="_blank">//codepen.io/satyamdev/full/pdMmBp</a><strong>规则1</strong>不要查看示例项目的代码。自己搞清楚。 <strong>规则2</strong>完成以下<a href="https://en.wikipedia.org/wiki/User_story" target="_blank">用户故事</a> 。使用您需要的任何库或API。给它你自己的个人风格。 <strong>用户故事:</strong>我可以控制一个球拍。 <strong>用户故事:</strong>计算机可以控制另一个拨片。 <strong>用户故事:</strong>计算机的桨是无与伦比的。它绝不应该错过球。 <strong>用户故事:</strong>游戏记录玩家和计算机的分数。如果卡住,请记得使用<a href="https://forum.freecodecamp.org/t/how-to-get-help-when-you-are-stuck-coding/19514" target="_blank">Read-Search-Ask</a> 。完成后单击“我已完成此挑战”按钮并包含指向CodePen的链接。您可以通过Facebook上的朋友分享您的项目反馈。 </section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests: []
```
</section>
## Challenge Seed
<section id='challengeSeed'>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
/section>