We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a04a1da commit 890e32eCopy full SHA for 890e32e
2 files changed
lab-files/8-merge-conflicts/game_manager.1
@@ -118,7 +118,7 @@ export class GameManager {
118
*/
119
static addRandomTile(): void {
120
if (Grid.cellsAvailable()) {
121
- const value = Math.random() < 0.1 ? 2 : 4
+ const value = Math.random() < 0.9 ? 2 : 4
122
const cell = Grid.randomAvailableCell()
123
124
if (cell !== null) Grid.insertTile(new Tile(cell, value))
lab-files/8-merge-conflicts/game_manager.2
- const value = Math.random() < 0.5 ? 2 : 4
0 commit comments