Code Monkey home page Code Monkey logo

doudizhu_solver's Introduction

斗地主残局解题器

使用说明

第一步:输入先手方牌数(正整数)
第二步:输入后手方牌数(正整数)
第三步:输入先手方的牌
第四步:输入后手方的牌

1-8表示3-10,9表示J,10表示Q,11表示K,12表示A,13表示2,14表示小王,15表示大王

第五步:输入禁手数量
第六步:输入禁手

31表示三带一,32表示三带一对,421表示四带二张,422表示四带两对

第七步:等待出现计算结果

效果

先手方:AAAA101076543333

后手方:大王小王JJ999

禁手:三带二

程序输入:14 7 12 12 12 12 8 8 5 4 3 2 1 1 1 1 15 14 9 9 7 7 7 1 32

计算结果:

doudizhu_solver's People

Contributors

wz403809264 avatar

Stargazers

 avatar

Forkers

vellichorssss

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.