Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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

by SuicideJunkie (Priest)
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 scrutinizing the Monastery: (8)
As of 2014-07-11 05:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (219 votes), past polls