├── LICENSE ├── README.md ├── auto_test.py ├── baseline ├── SLModel │ ├── BidModel.py │ ├── LandlordModel.py │ ├── bid_weights_new.pkl │ ├── landlord_down_weights_new.pkl │ ├── landlord_up_weights_new.pkl │ └── landlord_weights.pkl ├── best │ ├── landlord.ckpt │ ├── landlord_down.ckpt │ └── landlord_up.ckpt └── test │ ├── landlord.ckpt │ ├── landlord_down.ckpt │ └── landlord_up.ckpt ├── douzero ├── __init__.py ├── dmc │ ├── __init__.py │ ├── arguments.py │ ├── dmc.py │ ├── env_utils.py │ ├── file_writer.py │ ├── models.py │ ├── models_res.py │ ├── ranger.py │ └── utils.py ├── env │ ├── __init__.py │ ├── env.py │ ├── env_douzero.py │ ├── env_res.py │ ├── game.py │ ├── move_detector.py │ ├── move_generator.py │ ├── move_selector.py │ └── utils.py └── evaluation │ ├── __init__.py │ ├── autosimu.py │ ├── deep_agent.py │ ├── random_agent.py │ ├── rlcard_agent.py │ └── simulation.py ├── evaluate.py ├── game_eval.py ├── generate_eval_data.py ├── pics └── compare.png ├── requirements.txt └── train.py /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/README.md -------------------------------------------------------------------------------- /auto_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/auto_test.py -------------------------------------------------------------------------------- /baseline/SLModel/BidModel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/baseline/SLModel/BidModel.py -------------------------------------------------------------------------------- /baseline/SLModel/LandlordModel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/baseline/SLModel/LandlordModel.py -------------------------------------------------------------------------------- /baseline/SLModel/bid_weights_new.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/baseline/SLModel/bid_weights_new.pkl -------------------------------------------------------------------------------- /baseline/SLModel/landlord_down_weights_new.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/baseline/SLModel/landlord_down_weights_new.pkl -------------------------------------------------------------------------------- /baseline/SLModel/landlord_up_weights_new.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/baseline/SLModel/landlord_up_weights_new.pkl -------------------------------------------------------------------------------- /baseline/SLModel/landlord_weights.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/baseline/SLModel/landlord_weights.pkl -------------------------------------------------------------------------------- /baseline/best/landlord.ckpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/baseline/best/landlord.ckpt -------------------------------------------------------------------------------- /baseline/best/landlord_down.ckpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/baseline/best/landlord_down.ckpt -------------------------------------------------------------------------------- /baseline/best/landlord_up.ckpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/baseline/best/landlord_up.ckpt -------------------------------------------------------------------------------- /baseline/test/landlord.ckpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/baseline/test/landlord.ckpt -------------------------------------------------------------------------------- /baseline/test/landlord_down.ckpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/baseline/test/landlord_down.ckpt -------------------------------------------------------------------------------- /baseline/test/landlord_up.ckpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/baseline/test/landlord_up.ckpt -------------------------------------------------------------------------------- /douzero/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /douzero/dmc/__init__.py: -------------------------------------------------------------------------------- 1 | from .arguments import parser 2 | -------------------------------------------------------------------------------- /douzero/dmc/arguments.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/douzero/dmc/arguments.py -------------------------------------------------------------------------------- /douzero/dmc/dmc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/douzero/dmc/dmc.py -------------------------------------------------------------------------------- /douzero/dmc/env_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/douzero/dmc/env_utils.py -------------------------------------------------------------------------------- /douzero/dmc/file_writer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/douzero/dmc/file_writer.py -------------------------------------------------------------------------------- /douzero/dmc/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/douzero/dmc/models.py -------------------------------------------------------------------------------- /douzero/dmc/models_res.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/douzero/dmc/models_res.py -------------------------------------------------------------------------------- /douzero/dmc/ranger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/douzero/dmc/ranger.py -------------------------------------------------------------------------------- /douzero/dmc/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/douzero/dmc/utils.py -------------------------------------------------------------------------------- /douzero/env/__init__.py: -------------------------------------------------------------------------------- 1 | from .env import Env 2 | -------------------------------------------------------------------------------- /douzero/env/env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/douzero/env/env.py -------------------------------------------------------------------------------- /douzero/env/env_douzero.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/douzero/env/env_douzero.py -------------------------------------------------------------------------------- /douzero/env/env_res.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/douzero/env/env_res.py -------------------------------------------------------------------------------- /douzero/env/game.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/douzero/env/game.py -------------------------------------------------------------------------------- /douzero/env/move_detector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/douzero/env/move_detector.py -------------------------------------------------------------------------------- /douzero/env/move_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/douzero/env/move_generator.py -------------------------------------------------------------------------------- /douzero/env/move_selector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/douzero/env/move_selector.py -------------------------------------------------------------------------------- /douzero/env/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/douzero/env/utils.py -------------------------------------------------------------------------------- /douzero/evaluation/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /douzero/evaluation/autosimu.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/douzero/evaluation/autosimu.py -------------------------------------------------------------------------------- /douzero/evaluation/deep_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/douzero/evaluation/deep_agent.py -------------------------------------------------------------------------------- /douzero/evaluation/random_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/douzero/evaluation/random_agent.py -------------------------------------------------------------------------------- /douzero/evaluation/rlcard_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/douzero/evaluation/rlcard_agent.py -------------------------------------------------------------------------------- /douzero/evaluation/simulation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/douzero/evaluation/simulation.py -------------------------------------------------------------------------------- /evaluate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/evaluate.py -------------------------------------------------------------------------------- /game_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/game_eval.py -------------------------------------------------------------------------------- /generate_eval_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/generate_eval_data.py -------------------------------------------------------------------------------- /pics/compare.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/pics/compare.png -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | torch>=1.6.0 2 | GitPython 3 | gitdb2 4 | rlcard 5 | -------------------------------------------------------------------------------- /train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuBP17/AlphaDou/HEAD/train.py --------------------------------------------------------------------------------