* feat(tools): add seed/solution restore script * chore(curriculum): remove empty sections' markers * chore(curriculum): add seed + solution to Chinese * chore: remove old formatter * fix: update getChallenges parse translated challenges separately, without reference to the source * chore(curriculum): add dashedName to English * chore(curriculum): add dashedName to Chinese * refactor: remove unused challenge property 'name' * fix: relax dashedName requirement * fix: stray tag Remove stray `pre` tag from challenge file. Signed-off-by: nhcarrigan <nhcarrigan@gmail.com> Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
30 lines
978 B
Markdown
30 lines
978 B
Markdown
---
|
|
id: bd7158d8c442eedfaeb5bd1c
|
|
title: Build a Tic Tac Toe Game
|
|
challengeType: 3
|
|
forumTopicId: 302358
|
|
dashedName: build-a-tic-tac-toe-game
|
|
---
|
|
|
|
# --description--
|
|
|
|
**Objective:** Build a [CodePen.io](https://codepen.io) app that is functionally similar to this: <https://codepen.io/freeCodeCamp/full/KzXQgy/>.
|
|
|
|
Fulfill the below [user stories](https://en.wikipedia.org/wiki/User_story). Use whichever libraries or APIs you need. Give it your own personal style.
|
|
|
|
**User Story:** I can play a game of Tic Tac Toe with the computer.
|
|
|
|
**User Story:** My game will reset as soon as it's over so I can play again.
|
|
|
|
**User Story:** I can choose whether I want to play as X or O.
|
|
|
|
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 [freeCodeCamp forum](https://forum.freecodecamp.org/c/project-feedback/409).
|
|
|
|
# --solutions--
|
|
|
|
```js
|
|
// solution required
|
|
```
|