What it does
The README is in Chinese; the validation is in code. All four direction probabilities must be finite, non-negative, and within two percent of summing to one — otherwise the tiles do not move.
Playable demos & bots
Jev calls every swipe in this 2048 clone, and a direction only counts if the four probabilities add up to a clean one.
Screenshot unavailable. Open the experiment ↗
The README is in Chinese; the validation is in code. All four direction probabilities must be finite, non-negative, and within two percent of summing to one — otherwise the tiles do not move.
To compare AI moves in your puzzle game, start with this example's one-move-at-a-time controls and saved game records. Look at the board before and after each choice. A developer can adapt that record for your game. It also keeps the AI's confidence number, which is not the chance of winning.