genetic algorithm for leveling/build test

Posted by Renan Malke Stigliani on Game Development See other posts from Game Development or by Renan Malke Stigliani
Published on 2012-10-15T23:50:19Z Indexed on 2012/10/16 5:30 UTC
Read the original article Hit count: 438

Filed under:
|
|

I'm starting o build a online PVP (duel like, one-to-one) game, where there is leveling, skill points, special attacks and all the common stuff. Since I never did anything like that, I'm still thinking about the maths behind the level/skill/special balances.

So I thought good way of testing the best/combo builds would implement a Genetic Algorith. It'd be like that:

  • Generate a big portion of random characters
  • Make them fight, level them up accordingly to the victories(more XP)/losses(less XP)
  • Mate the winners, crossing their builds, to try to make even best characters
  • Add some more random chars, emulating new players
  • Repeat the process for some time, or util find some chars who can beat everyone butts

So I could play with the math and try to find the balance where the top x% chars would be a mix of various build types.

So, is it a good idea, or there are some other easier method to do the balance?

PS: I like this also, because it sounds funny

© Game Development or respective owner

Related posts about level-design

Related posts about testing