Giter VIP home page Giter VIP logo

fastmaj's Introduction

fastmaj

A Richii Mahjong game core simulator for redevelop or AI training

本项目包含一个java实现的日式立直麻将的游戏核心,提供完整游戏流程,役种判定,向听计算等实现接口,可用于二次开发或者作为AI训练环境。该项目没有UI界面,采用单线程进行游戏模拟。

规划

  • 0.9.x 尝试使用该项目进行二次开发,以调整完善接口设计 New!
  • 0.8.x 会进行大范围的代码整理调整重构 2023-09-24
  • 0.7.x 实现了大部分功能,并进行了测试 2022-12-13
  • ...

工作外的项目咸暇时间外缓慢开发中(

支持

  • 天凤规则下的所有役种判定
  • 向听数计算
  • 和了计算(符数,番数,分数)
  • 一个采用事件驱动的游戏执行器
  • 天凤牌谱解析器,支持2009年10月后的所有牌谱解析
  • 及其他一些小东西...

状态

当前代码经过所有4麻天凤位的全牌谱测试,基本可用,但是可执行动作校验部分应该还存在问题(不在牌谱测试之内),可用作参考。

代办

  • 增加对雀魂牌谱的支持
  • 针对牌谱解析方面的优化,可以更快的提供AI所需的训练参数
  • 完成所有类的单元测试
  • 使用事件工厂类代替new,复用所有默认事件,减小创建对象的消耗
  • 发布Maven**仓库
  • 四家立直 + 四风连打 时,触发应当只允许触发四风连打(校验点)

fastmaj's People

Contributors

terralian avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

edelgard-wyb

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.