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

51 lines
1.6 KiB
Markdown

---
id: 5a4b7fcdb66f799f199e11db
title: Build a Pong Game
challengeType: 3
isRequired: false
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.
Remember to use <a href='http://forum.freecodecamp.org/t/how-to-get-help-when-you-are-stuck/19514' target='_blank'>Read-Search-Ask</a> if you get stuck.
When you are finished, click the "I've completed this challenge" button and include a link to your CodePen.
You can get feedback on your project by sharing it with your friends on 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>