Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Challenge: Algorithm To Generate Bubble Blast 2 Puzzles With Difficulty

by SuicideJunkie (Vicar)
on Aug 30, 2013 at 13:45 UTC ( #1051631=note: print w/ replies, xml ) Need Help??


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.

  1. Save 11 random boards and sort them by difficulty rating.
  2. Have the user play the (easymode=3rd, medium=6th, hardmode=9th) ranked one.
  3. If the user wins, delete the games easier than the one just beaten, if they lost, delete the harder games.
  4. Generate replacement boards and sort them by difficulty again.
  5. Goto 2 until bored


Comment on Re^2: Challenge: Algorithm To Generate Bubble Blast 2 Puzzles With Difficulty

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1051631]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2015-07-31 06:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (274 votes), past polls