Code Monkey home page Code Monkey logo

mjhupai's Introduction

麻将胡牌算法实现

C++/MJHuPai_split_noLaiZi

麻将通用胡牌算法实现。(不包含赖子)

C++/demo

麻将通用胡牌算法实现。(包含赖子)

C++/qipai_mjlib_split

取自:https://github.com/yuanfengyun/qipai.git

C++/public

麻将子通用定义

Go

麻将通用胡牌算法实现。(https://github.com/yuanfengyun/qipai.git)

Java

http://hp.vector.co.jp/authors/VA046927/mjscore/mjalgorism.html

http://hp.vector.co.jp/authors/VA046927/mjscore/AgariIndex.java

http://hp.vector.co.jp/authors/VA046927/mjscore/AgariBacktrack.java

麻将基础

牌分类

全副牌共有6类42种图案,144张。

一. 序数牌 合计108张

  1. 万子牌: 1万到9万,各4张,共36张
  2. 条子牌: 1条到9条,各4张,共36张
  3. 饼子牌: 1饼到9饼,各4张,共36张

二. 字牌 合计28张

  1. 风牌: 东、南、西、北,各4张,共16张
  2. 箭牌: 中、发、白,各4张,共12张

二. 花牌 合计8张

  1. 春、夏、秋、冬、梅、兰、竹、菊

https://www.zhihu.com/question/47908832

https://www.zhihu.com/question/47124225

mjhupai's People

Contributors

mdgsf avatar

Watchers

mgo 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.