2048: Difference between revisions
Content deleted Content added
→{{header|Wren}}: Removed redundant initializeBoard method. |
|||
Line 16,884: | Line 16,884: | ||
} |
} |
||
_rand = Random.new() |
_rand = Random.new() |
||
initializeBoard() |
|||
} |
|||
initializeBoard() { |
|||
for (y in 0..3) { |
|||
for (x in 0..3) _board[x][y] = Tile.new(0, false) |
|||
} |
|||
} |
} |
||