diff --git a/js/world.js b/js/world.js index fd1e886..72ebd4a 100644 --- a/js/world.js +++ b/js/world.js @@ -47,10 +47,10 @@ function getOrCreateChunk(chunkX, chunkY) { const noiseThreshold = y / 10; // 0 at the top, 1 at row 10 if (random() > noiseThreshold) { - chunkData[y * CHUNK_SIZE + x] = STONE; + chunkData[y * CHUNK_SIZE + x] = SAND; } else { - // Randomly choose between sand and empty space - chunkData[y * CHUNK_SIZE + x] = random() < 0.7 ? SAND : EMPTY; + // Randomly choose between stone and empty space + chunkData[y * CHUNK_SIZE + x] = random() < 0.7 ? STONE : EMPTY; } } else { // Below the transition zone, it's all stone