2D map generation from tiles
I'm not going to lie I'm really new at this and I'm just looking for a simple way to randomly generate the course for my cart game. If you could point me to a specific coding technique/method or a tutorial that would be great.
Each section of track begins on one side of the rectangle and finishes on the other. The start and end are one of five possible locations. I've created all the possible variations and therefore every time it selects the next tile it has a choice of 5 to choose from. I'd upload images but they're all to big despite me using .png. Instead you can find them at this link:
Currently my sections of track are sprites with 2d collision. I've named them as follows because I thought this would be important for the algorithm to select the right tile. For example if the track starts at the furthest to the left and finishes in the middle then its named HL-MM (Hard Left - Middle Middle). The potential positions are as follows:
HL - Hard Left
SL - Soft Left
MM - Middle Middle
SR - Soft Right
HR - Hard Right
If you'd like any additional details please do ask and I thank you in advance for your help.