ABOUT
I have created a mahjong-style game.
You use tiles numbered 1 to 9 and a blank tile (white), aiming to form sets of three identical tiles.
It’s similar to games like Ponjan or Donjara.
Original inspiration:
https://archive.org/details/MSXFAN198901/page/n53/mode/2up
Game Progress (SUUJANG)
The game is single-player, with the other three players (COM1–COM3) controlled by the computer.
You can choose between 8-round matches or 16-round matches.
At the start of each round, the round’s bonus tile (yakuhai) and dealer (East/oya) are displayed.
Press the X key to start the game.
Rules of SUUJANG
- Drawing (tsumo) is automatic. When discarding a tile, select it with the left/right arrow keys and discard with X key.
- A winning hand consists of three sets of three identical tiles. Multiple sets of the same number are allowed.
- When you are one tile away from winning, the game automatically declares Reach (ready hand).
- Whether from your own draw or another player’s discard, if the winning tile appears, you will automatically win.
- Roles (yaku) and bonuses are then calculated, and the score is determined automatically. If the dealer (oya) wins, the score is 1.5× that of a non-dealer win.
- If all four players have discarded 14 tiles and no one wins, the round ends in a draw and the game moves to the next round automatically.
- After the 8th or 16th round, the game ends.
Scoring
When you win, in addition to the hand’s role score, you receive bonus points as follows:
- Yakuhai bonus – If your hand contains the bonus tile, you gain 80 points per set of that tile.
- Role bonus – Each role (yaku) adds 40 points.
- Tile bonus – Multiply 40 by the number of the second set in your hand (for the blank tile, treat it as 10).
There are 90 tiles in total, consisting of 9 copies of each tile.
Request:
The current AI player just goes for quick wins with a simple logic. If anyone can create a more interesting and stronger AI player, that would be awesome!
yaku list

[Please log in to post a comment]