Giter Club home page Giter Club logo

blackjackbattleenv_online_2's Introduction

游戏介绍

比赛规则:

  1. 两两对打,所有小组都会互相成为对手;按得分,选择一半的队伍进入下一阶段;
  2. 比赛分阶段进行,每一阶段会淘汰掉一半的小组,并且随着阶段推进,对打轮次会增加; (具体来说,第一阶段,小组A会和班上其他全部小组都比赛,每场比赛2000次并且每个组会获得该轮比赛得分,如果小组A的所有得分和大于0将进入下一阶段比赛, 下一阶段比赛每一对比赛5000次,以后每轮增加5000次。)

训练模型:

  1. 采用强化学习算法,训练模型;利用蒙特卡洛树搜索算法,训练模型

运行

  1. 运行 test_agent.py 文件,查看模型效果
  2. 运行 mc.py 文件,训练模型
  3. policy_pkl 文件是训练好的模型
  4. Group_Policy_4.py 是根据模型生成的策略文件

blackjackbattleenv_online_2's People

Contributors

mesakurax avatar

Watchers

Kostas Georgiou avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.