Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lowesyang/wolfman
:wolf: 狼人游戏 by React
https://github.com/lowesyang/wolfman
Last synced: 1 day ago
JSON representation
:wolf: 狼人游戏 by React
- Host: GitHub
- URL: https://github.com/lowesyang/wolfman
- Owner: lowesyang
- License: mit
- Created: 2016-08-22T08:38:02.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-06T09:01:21.000Z (over 7 years ago)
- Last Synced: 2024-08-08T15:24:34.628Z (3 months ago)
- Language: JavaScript
- Homepage: https://tx.zhelishi.cn:2016
- Size: 322 KB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Wolfman
使用纯Html5开发的在线狼人游戏,非Flash版本## 技术选型
* 前端:
* React+Material-ui 开发界面
* webpack 打包
* 主要使用ES6,部分使用ES7语法
* 后端:
* Express+MySQL
* Websocket 用于通讯## 主要功能
1. 登录注册
2. 房间系统
3. 游戏身份配置更改
4. 文字、语音聊天室
5. 狼人游戏进程控制系统 (未完成)## 如何运行
* 线上: [传送门](https://tx.zhelishi.cn:2016)
* 本地:
1. git pull
2. npm install
3. webpack -p
4. node server.js
5. node backend/socket/chat.js (新进程)
6. node backend/socket/gamectrl.js (新进程)
* 测试账号: 账号admin,密码admin