---
id: 5a4b7fcdb66f799f199e11db
title: Build a Pong Game
challengeType: 3
forumTopicId: 302353
dashedName: build-a-pong-game
---

# --description--

**Objective:** Build an app that is functionally similar to this: <https://codepen.io/satyamdev/full/pdMmBp>.

**规则＃1：** 不要查看示例项目的代码。 自己搞清楚。

**Rule #2:** Fulfill the below user stories and get all of the tests to pass. 使用你需要的任何库或 API。 赋予它你自己的个人风格。

**User Story:** I can control a paddle.

**用户故事：** 计算机可以控制另一个拨片。

**用户故事：** 计算机的拨片是无法战胜的。 它绝不应该错过球。

**用户故事：** 游戏记录玩家和计算机的分数。

When you are finished, include a link to your project on CodePen and click the "I've completed this challenge" button.

You can get feedback on your project by sharing it on the <a href="https://forum.freecodecamp.org/c/project-feedback/409" target="_blank" rel="noopener noreferrer nofollow">freeCodeCamp forum</a>.

# --solutions--

```js
// solution required
```
