AlphaJong Versions Save

A Mahjong AI for Mahjong Soul

v1.3.1

1 year ago

This version fixes problems in 3 player mode and improves the AI in some aspects.

Changes:

  • Decreased the calculation time slightly
  • Improved defense against honitsu
  • Better avoidance of No-Ten penalty at the end of a round
  • Improved the decision to call Chi/Pon
  • Fixed bug in Kan decision
  • Better handling of Furiten
  • Fixed multiple problems in 3 player mode
    • Fixed KEEP_SAFETILE
    • Fixed score calculation
    • Fixed seat wind
    • Use correct wall size of 55 instead of 70
    • Improved the decision when to call Kita
    • Fixed isLastGame()

Installation:

v1.3.0

2 years ago

This version introduces several improvements to the AI and a new help mode.

Changes:

  • Improved offensive AI
    • Makes more efficient discards with exact shanten calculation.
    • Makes better decisions with expected score calculation (push/fold judgement, efficiency vs. value).
    • Does not make calls with cheap and slow hands anymore and takes a few more factors into account when considering calls.
  • Improved defensive AI
    • Calculates the expected score for the opponents and tries to avoid dealing into expensive hands.
    • More accurately predicts the opponents chance to be tenpai and chance to deal into them with a tile.
    • Considers more factors for defense, like tiles near dora and near the discard on the opponent's riichi turn which are considered more dangerous.
    • Predicts some yaku for open hands and tries not to deal into them.
    • Added Sakigiri (discarding dangerous tiles earlier). The weight can be controlled with the SAKIGIRI parameter (the default 1.0 setting is quite low).
    • Added an option to force the bot to keep a safetile (until 1 shanten). This behavior is disabled by default and can be turned on by setting KEEP_SAFETILE to true.
  • New parameter PERFORMANCE_MODE
    • Can be set from 0 (fastest calculation, but worse decisions) up to 4 (highest calculation time, best decisions). Default is 3, which is nearly as smart as 4, but reasonably faster.
    • When the bot takes more than the allowed 5 seconds per turn it will lower the performance mode automatically after a while.
  • Improved the room selection in the GUI. Room names are now translated based on the game language and only available rooms for the rank are displayed.
  • Added help mode: When turned on in the GUI the bot will not discard tiles automatically anymore, but instead display a hint in the textbox.
    • Emojis instead of tile names can be turned on or off with the USE_EMOJI parameter.

Installation:

v1.2.1

2 years ago

Compatible with the latest version of Mahjong Soul as of 22 March 2022.

Changes:

  • Minor fixes related to Kan and Kita calls. Fixes #23 #24 #25 #26

Installation:

v1.2.0

2 years ago

Compatible with the latest version of Mahjong Soul as of 11 March 2022.

Changes:

  • Added strategy for thirteen orphans (Kokushi musou).
  • Added Low Spec Mode which can be activated with a parameter. It reduces the calculation time for slower computers, but results in slightly worse moves.
  • After calling Chi/Pon the UI Button will now immediately hidden and not show the invalid timer anymore.
  • Multiple improvements to the AI, mostly for defense and folding. The AI can now achieve good results in Gold Room and is able to reach Master rank.
  • Edit: Added hotfix f3f2241

To set it up:

v1.1.0

2 years ago

Compatible with the latest version of Mahjong Soul as of 01 March 2022. This version brings multiple improvements and bugfixes to the AI, both in offense and defense. The decision when to call Riichi is improved as well. EDIT: Added hotfix #17 to the attached file.

To set it up:

v1.0.4

2 years ago

Compatible with the latest version of the Mahjong Soul as of 01 January 2022. Autorun is now working regardless of the game's loading time.

To set it up:

v1.0.3

2 years ago

Compatible with the latest version of the Mahjong Soul as of 29 October 2021.

To set it up:

v1.0.2

2 years ago

Now supports 3 player games (you might want to tweak the parameters for better results). Compatible with the latest version of the game as of 15 October 2021.

To set it up:

v1.0.1

2 years ago

Official release in a single file for easy installation. Compatible with the latest version of the game as of 03 August 2021.

To set it up:

v1.0.0

2 years ago

Official release in a single file for easy installation.

To set it up: