使用 React 框架实现的 2048 游戏,部分代码参考该项目。
点击 Auto
按钮自动进行游戏(目前一般能合成1024)。
待加入功能:
- 使用 Jest 对 reducer 文件进行测试
- 部分功能需加入对 develop 和 production 环境的区分
- 对 PWA 的支持
- AI 算法需改进
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more.
Please sign in to use Codespaces.
If nothing happens, download GitHub Desktop and try again.
If nothing happens, download GitHub Desktop and try again.
If nothing happens, download Xcode and try again.
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.