Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cacivy/2048
2048 🎮️
https://github.com/cacivy/2048
mobx mobx-state-tree react styled-components travis typescript
Last synced: about 2 months ago
JSON representation
2048 🎮️
- Host: GitHub
- URL: https://github.com/cacivy/2048
- Owner: Cacivy
- License: mit
- Created: 2017-10-12T09:06:11.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T17:46:34.000Z (about 2 years ago)
- Last Synced: 2024-10-11T23:24:39.718Z (2 months ago)
- Topics: mobx, mobx-state-tree, react, styled-components, travis, typescript
- Language: JavaScript
- Homepage: https://cacivy.github.io/2048
- Size: 3.75 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
#
[![Build Status](https://travis-ci.org/Cacivy/2048.svg?branch=master)](https://travis-ci.org/Cacivy/2048)
[![codecov](https://codecov.io/gh/Cacivy/2048/branch/master/graph/badge.svg)](https://codecov.io/gh/Cacivy/2048)
[![codebeat badge](https://codebeat.co/badges/4e11cf73-62e2-4321-8a67-195c555618cf)](https://codebeat.co/projects/github-com-cacivy-2048-master)
[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](#badge)+ style-components 可以说是非常好用了,相对于css modules
+ mobx-state-tree 实现状态管理,以及回退功能(Time travel)
+ travis + gh-pages 自动构建打包发布git pages
+ codecov
+ drone### DEV
```
npm i / yarnyarn start
yarn build
yarn reploy / git subtree push --prefix build origin gh-pages
```### TODO
- [x] UI优化
- [x] 移动端适配
- [x] localStorage
- [ ] 成功/失败提示优化
- [ ] Timer
- [x] PWA
- [x] i18n
- [x] Test### THANKS
样式/i18n 参考 [React-2048-game](https://github.com/devrsi0n/React-2048-game)
### License
[MIT](https://opensource.org/licenses/MIT)