https://github.com/mailgyc/doudizhu
html5 斗地主游戏
https://github.com/mailgyc/doudizhu
aiomysql asyncio game-server mysql phaser sqlalchemy tornado
Last synced: 6 months ago
JSON representation
html5 斗地主游戏
- Host: GitHub
- URL: https://github.com/mailgyc/doudizhu
- Owner: mailgyc
- Created: 2015-06-22T14:31:00.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-12-25T06:36:41.000Z (11 months ago)
- Last Synced: 2025-04-14T16:53:46.617Z (7 months ago)
- Topics: aiomysql, asyncio, game-server, mysql, phaser, sqlalchemy, tornado
- Language: Python
- Homepage: https://m.ihouser.com
- Size: 21 MB
- Stars: 490
- Watchers: 24
- Forks: 211
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 斗地主
[](https://travis-ci.org/mailgyc)
[](https://coveralls.io/github/mailgyc/doudizhu?branch=master)
[](https://opensource.org/licenses/mit-license.php)
斗地主游戏,后端基于Python+Tornado+MySQL开发,前端 Phaser 引擎
**Dependencies**
* Python3.8+
* Mysql5.7+
Quick Start
```shell
git clone https://github.com/mailgyc/doudizhu
cd doudizhu
mysql --user=root -p < schema.sql
pip3 install -r requirements.txt
cd server
export DATABASE_URI=mysql+aiomysql://root:123456@127.0.0.1:3306/ddz
python3 app.py
Now visit http://127.0.0.1:8080
```
运行截图


