All Projects → summerinsects → ChineseOfficialMahjongHelper

summerinsects / ChineseOfficialMahjongHelper

Licence: MIT license
国标麻将小助手——包含算番器、线下实麻计分器、番种详细说明、牌理等

Programming Languages

C++
36643 projects - #6 most used programming language
java
68154 projects - #9 most used programming language
Objective-C++
1391 projects
c
50402 projects - #5 most used programming language
CMake
9771 projects
objective c
16641 projects - #2 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to ChineseOfficialMahjongHelper

JapaneseMahjong
日本麻将的库,“求向听数”、“判断胡牌”、“牌面拆解”采用查表法。
Stars: ✭ 96 (+17.07%)
Mutual labels:  mahjong
MajsoulAI
雀魂/天凤四人麻将AI;目前段位 雀魂雀圣3 天凤8段。
Stars: ✭ 93 (+13.41%)
Mutual labels:  mahjong
PlaneGame
飞机大战源码(豪华版)
Stars: ✭ 89 (+8.54%)
Mutual labels:  cocos2d-x
pantheon
Primary Pantheon project repository
Stars: ✭ 21 (-74.39%)
Mutual labels:  mahjong
cocos2d-x-imgui
ImGui for cocos2d-x, with lua binding
Stars: ✭ 24 (-70.73%)
Mutual labels:  cocos2d-x
akochan-reviewer
🔍🀄️ Review mahjong game log with mjai-compatible mahjong AI.
Stars: ✭ 503 (+513.41%)
Mutual labels:  mahjong
Cocos2d X
Cocos2d-x is a suite of open-source, cross-platform, game-development tools used by millions of developers all over the world.
Stars: ✭ 15,713 (+19062.2%)
Mutual labels:  cocos2d-x
Deep-Learning-Mahjong---
Reinforcement learning (RL) implementation of imperfect information game Mahjong using markov decision processes to predict future game states
Stars: ✭ 45 (-45.12%)
Mutual labels:  mahjong
tjmj
网页的天津麻将,从 GoogleCode 导入,不活跃
Stars: ✭ 29 (-64.63%)
Mutual labels:  mahjong
TextureUnPacker
This is reverse engineering of Texture Packer used in LibGdx Projects.
Stars: ✭ 36 (-56.1%)
Mutual labels:  cocos2d-x
godot-action-animation-framework
create animation easy in Godot with GDAction
Stars: ✭ 43 (-47.56%)
Mutual labels:  cocos2d-x
vigilante
🦇 2D pixel-art side-scrolling single-player ARPG
Stars: ✭ 63 (-23.17%)
Mutual labels:  cocos2d-x
ee-x
Cross-platform library for Cocos2d-x and Unity
Stars: ✭ 13 (-84.15%)
Mutual labels:  cocos2d-x
tenhud
HUD for tenhou.net riichi mahjong server. Shows tsumogiri and hidden tiles.
Stars: ✭ 12 (-85.37%)
Mutual labels:  mahjong
mah
a html5 mahjong solitaire game
Stars: ✭ 33 (-59.76%)
Mutual labels:  mahjong
mahjong soul api
Python wrapper for the Mahjong Soul (Majsoul) Protobuf objects. It allows to use their API.
Stars: ✭ 30 (-63.41%)
Mutual labels:  mahjong
16mj
16 Mahjong
Stars: ✭ 15 (-81.71%)
Mutual labels:  mahjong
autotable
An online mahjong table
Stars: ✭ 39 (-52.44%)
Mutual labels:  mahjong
cocos2d-bgfx
cocos2d-x-lite use bgfx as the rendering backend
Stars: ✭ 54 (-34.15%)
Mutual labels:  cocos2d-x
mahjong-ai
A program for investigation on deep learning model for Hong Kong Mahjong.
Stars: ✭ 24 (-70.73%)
Mutual labels:  mahjong

Chinese Official Mahjong Helper 国标小助手

  • 这是与国标麻将相关的应用,包含算番器、线下实麻计分器、番种详细说明、牌理等内容
  • 本项目主要在GitHub上提交,码云(gitee)这边不定期手动同步代码
  • 本程序以cocos2dx引擎为UI写成
  • Classes/mahjong-algorithm文件夹下的算番、判断听牌、听牌计算、上听数计算、有效牌计算等相关算法已经独立成仓库,可单独Star、Fork。
  • 由于cocos2dx引擎自身的源码较为庞大,这里就不上传了,请按如下步骤配置

配置步骤

  1. 下载cocos2dx v4.0
  2. 下载(download)本项目(clone随意)
  3. 随便创建一个c++工程,工程名任意(命令行:cocos new -l cpp --portrait 工程名)
  4. 将在上一步创建的工程目录下的cocos2d目录拷贝到本项目Classes的同一级目录下
  5. cocos2dx引擎源码修改:将文件夹cocos2d_improvements里面的内容复制到cocos2d

配置步骤的第3、4步也可改为如下两步:(但推荐使用上面一种方式,上一种方式cocos2d目录体积更小)

  1. 将在本项目Classes的同一级目录下新建一个cocos2d目录
  2. 将解压cocos2dx引擎后的文件,除templates、tests外,其他全部复制到cocos2d目录

配置完成后项目的目录结构为:

  • attachment/
  • Classes/
  • cocos2d/
    • cmake/
    • cocos/
    • docs/
    • extensions/
    • external/
    • licenses/
    • tools/
    • .appveyor.yml
    • AUTHORS
    • CHANGELOG
    • CMakeLists.txt
    • CONTRIBUTING.md
    • download-deps.py
    • install-deps-linux.sh
    • issue_template.md
    • README.md
  • cocos2d_improvements/
  • proj.android/
  • proj.ios_mac/
  • proj.linux/
  • proj.win32/
  • Resources/
  • CMakeLists.txt
  • LICENSE
  • README.md

  • 命令行依次执行 $ mkdir build $ cd build $ cocos run --proj-dir .. -p [mac|windows|android|linux|ios]

仅针对本项目缩小包体的方法

  • 打开cocos/base/ccConfig.h
  • 将CC_USE_PHYSICS、CC_USE_3D_PHYSICS、CC_USE_NAVMESH、CC_USE_CULLING、CC_USE_WEBP、CC_ENABLE_SCRIPT_BINDING这几个宏定义值改为0

图片来源

  1. Ant Design 官方图标库
  2. Android自带素材
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].