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

18 lines
1.0 KiB
Markdown
Raw Normal View History

---
id: bd7158d8c442eedfaeb5bd1c
title: 建立一个Tic Tac Toe游戏
challengeType: 3
videoUrl: ''
dashedName: build-a-tic-tac-toe-game
---
# --description--
**目标:** 构建一个功能类似于此的[CodePen.io](https://codepen.io)应用程序: [https](https://codepen.io/freeCodeCamp/full/KzXQgy/) **** [//codepen.io/freeCodeCamp/full/KzXQgy/](https://codepen.io) 。完成以下[用户故事](https://en.wikipedia.org/wiki/User_story) 。使用您需要的任何库或API。给它你自己的个人风格。 **用户故事:** 我可以用电脑玩Tic Tac Toe游戏。 **用户故事:** 我的游戏一旦结束就会重置,所以我可以再玩一次。 **用户故事:** 我可以选择是否要播放为X或O.如果卡住,请记得使用[Read-Search-Ask](https://forum.freecodecamp.org/t/how-to-get-help-when-you-are-stuck-coding/19514) 。完成后单击“我已完成此挑战”按钮并包含指向CodePen的链接。您可以通过Facebook上的朋友分享您的项目反馈。
# --solutions--
```js
// solution required
```