in reply to Re: Challenge: Algorithm To Generate Bubble Blast 2 Puzzles With Difficulty
in thread Challenge: Algorithm To Generate Bubble Blast 2 Puzzles With Difficulty
If you are going to build a number of random games and score them for difficulty, you could have an auto-challenge balancing routine.
- Save 11 random boards and sort them by difficulty rating.
- Have the user play the (easymode=3rd, medium=6th, hardmode=9th) ranked one.
- If the user wins, delete the games easier than the one just beaten, if they lost, delete the harder games.
- Generate replacement boards and sort them by difficulty again.
- Goto 2 until bored
|
---|
In Section
Seekers of Perl Wisdom