https://github.com/chess99/draw-something
You draw and I guess
https://github.com/chess99/draw-something
canvas vuejs websocket
Last synced: about 2 months ago
JSON representation
You draw and I guess
- Host: GitHub
- URL: https://github.com/chess99/draw-something
- Owner: chess99
- License: mit
- Created: 2018-05-31T03:49:59.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-14T10:15:56.000Z (about 8 years ago)
- Last Synced: 2025-04-01T19:57:59.691Z (about 1 year ago)
- Topics: canvas, vuejs, websocket
- Language: JavaScript
- Homepage: https://chess99.github.io/draw-something/
- Size: 415 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# draw-something
> You draw and I guess
## Build Setup
``` bash
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
# run unit tests
npm run unit
# run all tests
npm test
```
For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).
## TODO
- [x] canvas实现画基本线条
- [x] 选择线条宽度,颜色
- [x] 撤销上一笔&清空画布
- [x] 保存图片
- [ ] 多图片缓存, 保存 ( 拼接生成长图 )
- [ ] WebSocket同步作画路径
- [ ] WebSocket同步撤销等操作
- [ ] WebSocket实现作答和正确错误提示
- [ ] 实现答题计分
- [ ] 实现鲜花&鸡蛋
- [ ] 实现文字聊天
- [ ] 发送预设图案
- [ ] 发送自选图片
- [ ] 自选图片支持变换 : 轮廓画/灰度画..