This is the code I'm currently using to generate my world.
Is there any way to make this more uniform so it generates a more believable landmass? I'm using a tile generation sort of system.
for(int y = 1080 * -3; y < 1080 *3; y += 60){ for(int x = 600 * -3; x < 600 *3; x += 60){ int r = Greenfoot.getRandomNumber(10); if(r >= 0 && r <= 2){ addObject(new Water(), x, y); }else if(r == 3){ addObject(new Sand(), x, y); }else if(r >= 4){ addObject(new Grass(), x, y); } } }