https://github.com/rblsb/mahjong
https://github.com/rblsb/mahjong
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rblsb/mahjong
- Owner: RblSb
- Created: 2020-03-26T03:46:00.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-26T03:47:52.000Z (about 6 years ago)
- Last Synced: 2025-05-05T18:54:37.055Z (about 1 year ago)
- Language: Haxe
- Size: 1.31 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Mahjong
[Play Online](https://rblsb.github.io/Mahjong/)
Riichi mahjong demo, very nice classic board game.
Implemented things:
- Hand game cycle
- Bot AI to build closed hands ([based on this article](http://mahjongjoy.com/mahjong_bots_ai_algorithm.shtml))
- Player melds
- Win condition for all hand types
- Way to replay game with same wall for debugging
Would be nice to do someday:
- Hand points counter
- Rounds, hints
- Rewrite everything to start to undestand
- Optimize drawcalls
To undertand game rules i would recommend to check interactive tutorial on https://mahjongsoul.game.yo-star.com.
Made with [Kha](https://github.com/Kode/Kha)