Workshop › 2048 › Step 9 of 26
A game starts with two tiles in random cells.
```js
function newGame() {
// Array.from calls the function for every row, so each row is its own array.
board = Array.from({ length: SIZE }, () => Array(SIZE).fill(0))
addTile()
addTile()
}
```At the end of newGame, under the board = ... line, call addTile() twice.
Skills: Game states