Sa967St
Not A Moderator
- Joined
- Mar 11, 2008
- Messages
- 3,795
- Location
- Waterloo, ON, Canada
- WCA
- 2007STRO01
- YouTube
- Visit Channel
Can you think of a way to prove it without just observing arbitrarily many cases? Also, would it still be true if you start with three or four tiles instead of two?
I consider Ricardo's first sentence the proof. Is it not clear enough?
I was referring to proving the formula itself, not the ratio being <=1.
Also, as TDM mentioned, you can have multiple merges per turn, losing multiple tiles in one turn. I suspect that in order to lose multiple tiles (say, 2 tiles) in one turn, there must have been one previous turn where you didn't merge anything, but I can't think of why. Either that, or I'm not fully understanding Ricardo's post.
Thanks!Question: Does anyone know the probability of a getting a 4 instead of a 2?
Looks like 10%:
From http://gabrielecirulli.github.io/2048/js/game_manager.jsCode:// Adds a tile in a random position GameManager.prototype.addRandomTile = function () { if (this.grid.cellsAvailable()) { var value = Math.random() < 0.9 ? 2 : 4; var tile = new Tile(this.grid.randomAvailableCell(), value); this.grid.insertTile(tile); } };
Last edited: