algorithm - Artificial Intelligence for card battle based game -
i want make game card battle based game. in cards have specific attributes can increase player's hp/attack/defense or attack enemy reduce hp/attack/defense
i trying make ai game. ai has predict card select on basis of current situations ai's hp/attack/defense , enemy's hp/attack/defense. since ai cannot see enemy's card hence cannot predict future moves.
i searched few techniques of ai minmax think minmax not suitable since ai cannot predict future moves.
i searching technique flexible can add large variety of cards later.
can please suggest technique such game.
this isn't actionscript 3 topic per se think it's rather interesting.
first i'd suggest picking yu-gi-oh's stardust accelerator world championship 2009 nintendo ds or comparable game.
the game has advanced computer ai system not deals expected advantage or disadvantage in terms of hit points card advantage , combos. if you're taking on challenge this, definately recommend required research (plus, when playing video games research, can complain?)
my suggestion building ai follows: computer decides move, create array of move objects. have create new move object each possible move can see.
for each move object, calculate how less hp opponent have, how many cards still have, how many creatures,etc.
have computer decide what's important (more damage, more card advantage) , have play move.
more sophisticated ai's think several turns in advance , perhaps "see" moves others not.
Comments
Post a Comment