49 lines
1.5 KiB
Markdown
49 lines
1.5 KiB
Markdown
---
|
|
id: 5a4b7fcdb66f799f199e11db
|
|
title: Build a Pong Game
|
|
challengeType: 3
|
|
forumTopicId: 302353
|
|
---
|
|
|
|
## Description
|
|
<section id='description'>
|
|
<strong>Objective:</strong> Build a <a href='https://codepen.io' target='_blank'>CodePen.io</a> app that is functionally similar to this: <a href='https://codepen.io/satyamdev/full/pdMmBp' target='_blank'>https://codepen.io/satyamdev/full/pdMmBp</a>.
|
|
<strong>Rule #1:</strong> Don't look at the example project's code. Figure it out for yourself.
|
|
<strong>Rule #2:</strong> Fulfill the below <a href='https://en.wikipedia.org/wiki/User_story' target='_blank'>user stories</a>. Use whichever libraries or APIs you need. Give it your own personal style.
|
|
<strong>User Story:</strong> I can control a paddle.
|
|
<strong>User Story:</strong> The computer can control the other paddle.
|
|
<strong>User Story:</strong> The computer's paddle is unbeatable. It should never miss the ball.
|
|
<strong>User Story:</strong> The game keeps track of the player and computer's score.
|
|
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'>freeCodeCamp forum</a>.
|
|
</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>
|