Skip to content

topwebstudio/mahjong

 
 

Repository files navigation

mahjong tiles

Cock-eyed Mahjong

Application for simulating, analyzing, and playing Three-Player mahjong.

Example

For an example of the mahjong application and AI visit http://gleitzman.com/apps/mahjong.

Usage

Install dependencies with npm update.

Start the application with

node app.js

Then visit http://localhost:3000.

To analyze a hand visit http://localhost:3000/analyze/1p 123456789s BGR9.

Development

Install dev dependencies with npm install and start the application with grunt.

Author

Notes

  • Special thanks to Sebastian Heuchler for shanten calculation.

About

Three-player Mahjong AI and Simulator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 68.6%
  • CSS 26.7%
  • HTML 4.6%
  • Shell 0.1%