Abstract away the logic of mahjong games.
Project description
Abstract away the logic of mahjong games (for oh, it is complicated!) Only worry about the representation.
Example Usage
>>> import mahjong
>>> game = mahjong.Game()
>>> question = game.play()
>>> next_question = question.answer(...)
>>> ...
For full usage see the docs: https://github.com/Kenny2github/mahjong/wiki
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
python-mahjong-1.0.0.tar.gz
(13.8 kB
view details)
Built Distribution
File details
Details for the file python-mahjong-1.0.0.tar.gz
.
File metadata
- Download URL: python-mahjong-1.0.0.tar.gz
- Upload date:
- Size: 13.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c32b9a2f2f721a39e61321f938466b72bbcf1d583a1dc22b0de94e345214fe50 |
|
MD5 | d611a04c12e84b8ac641a0e20ed4715c |
|
BLAKE2b-256 | 7c0681e848822cbe9ac82622840c926ad75816eeeb796a767916bec0704e4d4e |
File details
Details for the file python_mahjong-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: python_mahjong-1.0.0-py3-none-any.whl
- Upload date:
- Size: 18.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be658d359c8017cb33bc9db15d206bc73095122b888292bdc5d740859486b596 |
|
MD5 | 20a644cd2db6f2e8a3b3b03b1eeba154 |
|
BLAKE2b-256 | 7e8f5a658da08ff070de8529f00861674cc835bcae76cbb15835df517ec616f7 |