Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kenny2github/mahjong

Abstract away the logic of mahjong games.
https://github.com/kenny2github/mahjong

engine game mahjong

Last synced: 9 days ago
JSON representation

Abstract away the logic of mahjong games.

Awesome Lists containing this project

README

        

Mahjong
=======

Abstract away the logic of Mahjong games (for oh, it is complicated!)
Only worry about the representation.

Example Usage
-------------

.. code-block:: python

>>> import mahjong
>>> game = mahjong.Game()
>>> question = game.play()
>>> next_question = question.answer(...)
>>> ...

For full usage see the docs: https://mahjong.rtfd.io (once it's up) or https://github.com/Kenny2github/mahjong/wiki until then.