|
![](/i/fill.gif) |
On 2014-07-30 11:54 AM, scott wrote:
>> http://en.wikipedia.org/wiki/2048_(video_game)
>
> It's open source, so I can answer my own question, the value of the new
> tile that is randomly generated is chosen thus:
>
> var value = Math.random() < 0.9 ? 2 : 4;
>
> So it's a 90% chance of a 2, 10% chance of a 4. Interesting.
>
Wow, that makes a huge difference to the game. My solver now has an 80%
success rate at reaching 2048.
David Buck
Post a reply to this message
|
![](/i/fill.gif) |