* 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>
18 lines
1.6 KiB
Markdown
18 lines
1.6 KiB
Markdown
---
|
||
id: bd7154d8c242eddfaeb5bd13
|
||
title: 打造生命游戏
|
||
challengeType: 3
|
||
videoUrl: ''
|
||
dashedName: build-the-game-of-life
|
||
---
|
||
|
||
# --description--
|
||
|
||
**目标:** 构建一个功能类似于此的[CodePen.io](https://codepen.io)应用程序: [https](https://codepen.io/freeCodeCamp/full/BpwMZv/) **:** [//codepen.io/freeCodeCamp/full/BpwMZv/](https://codepen.io) 。完成以下[用户故事](https://en.wikipedia.org/wiki/User_story) 。使用您需要的任何库或API。给它你自己的个人风格。 **用户故事:** 当我第一次到达游戏时,它将随机生成一个棋盘并开始播放。 **用户故事:** 我可以开始和停止董事会。 **用户故事:** 我可以设置电路板。 **用户故事:** 我可以清除董事会。 **用户故事:** 当我按下开始时,游戏将播出。 **用户故事:** 每次董事会改变,我都能看到已经过了多少代。 **提示:** 以下是对Conway的生命游戏的解释,来自John Conway本人: [https](https://www.youtube.com/watch?v=E8kUJL04ELA) : [//www.youtube.com/watch?v =](https://www.youtube.com/watch?v=E8kUJL04ELA) **E8kUJL04ELA提示:** 这里是Conway生命游戏的概述,规则供您参考: [https:// en.wikipedia.org/wiki/Conway%27s_Game_of_Life](https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life)如果卡住,请记得使用[Read-Search-Ask](//github.com/FreeCodeCamp/freecodecamp/wiki/FreeCodeCamp-Get-Help) 。完成后,单击“我已完成此挑战”按钮并包含指向CodePen的链接。您可以通过Facebook上的朋友分享您的项目反馈。
|
||
|
||
# --solutions--
|
||
|
||
```js
|
||
// solution required
|
||
```
|