Skip to content

mailgyc/doudizhu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

斗地主   

Build Status    Coverage Status    MIT Licence

斗地主游戏,后端基于Python+Tornado+MySQL开发,前端 Phaser 引擎

Dependencies

  • Python3.8+
  • Mysql5.7+

Quick Start

    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

运行截图