[i7] Generating a random map at start of play

You might want to have a look at this page of posts.