2 ms·
This game has a 50/50 chance of spawning a 4 or a 2. I believe the original is only 10% chance of spawning a 4, was this intentional?
by shawabawa3 13y ago
This game has a 50/50 chance of spawning a 4 or a 2. I believe the original is only 10% chance of spawning a 4, was this intentional?
- hk__2 13y agoI didn’t know about the 10% rule, I should check the original source code and use the same probability.
- shawabawa3 13y agoI submitted a pull request The original source is here: https://github.com/gabrielecirulli/2048/blob/master/js/game_manager.js https://github.com/gabrielecirulli/2048/blob/master/js/game_... (line 62)