Complex sentence: It was possible to play randomly generated'secret' levels by inputting a code and levels were generated based on the code entered.
Split into simpler sentences: It was possible to play randomly generated'secret' levels by inputting a code. Levels were generated based on the code entered.