Emanuele Feronato continues his tutorial series on re-creating the game Mike Dangers: "In this new chapter of the Mike Dangers series we are going to optimize the code and make the game fair.
Making a game fair is the top priority when you randomly generate levels. Players have to have the feeling they lost the game because they weren’t skilled enough – and they will retry – and not because the level was in some way impossible to solve.
In previous step, spikes are randomly placed on the floor, and sometimes – quite often actually – they are placed right at the end of a ladder, making the player crashing into them with no way to avoid them."