basic platformer terrain generator creates base and spikes for platformer levels out if blocks using cloning. how it works: ---- it creates the bottom layer with clones. pretty simple because its one row of 16 blocks. the system adds either a 1 or a 0 to the list. there is a 75% chance that it adds a one. this is repeated 16 times (because 16 blocks in a row). the list should have a length of 16. it then goes through this list to build the second layer of blocks on the screen. 1 being a block, and 0 being an empty space. it then takes this list and has a 80% chance to get rid of the 1s in the list. there should be around 1-5 1s left in the list it then uses the list to put the blocks on the screen like before. finally for the spikes, the system has a 50% chance to replace the 1s in the list with the word "spike". all 1s left over in the list are converted to 0s. this shows that they will not be printed. the system uses this list yet again to print spikes on the screen conclusion ---- as more layers are added onto the level, the probability of the tiles spawning decreases creating a very simple terrain. ---- sorry if i explained this badly lol credits ---- platformer engine is that generic one you find anywhere ---- press space to see a rounded corner version (for people who want to use this and want it to look decent)