this will generate a random line of varying roughness, then adds in blocks around it. it does take quite a long time to run the later stages. it works by drawing a straight line and then cutting it in half, and changing the new two points, and then cuts them in half etc. then it fills in the blocks. Then it puts in trees, different for each biome you can use this to make your own game if you like as long as i get partial credit. You have to download it for it to work