Skip to content

Muratam/mahjong-cpp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mahjong-cpp

About

fork of https://github.com/nekobean/mahjong-cpp .

emscripten compiled version.

How to build and run

# build
mkdir build && cd build
emcmake cmake ..
emmake make
# copy files to server
cp ./src/emscripten/main.* /path/to/dir
# in brwoser
> load: <script src="main.js"></script>
> Module.run_sample()
> Module.process_request('{"zikaze":27,"bakaze":27,"turn":3,"syanten_type":1,"dora_indicators":[27],"flag":63,"hand_tiles":[0,34,6,9,11,12,13,35,13,17,20,23,24,25],"melded_blocks":[], "kawa":[], "tsumo":0}')

Usage

About

Miscellaneous programs about Japanese Mahjong

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 88.1%
  • Python 10.7%
  • CMake 1.2%