I can find an approach, I already read thousands of articles on it and still, I don't understand.
Thanks to Fonzie, I find a way to code an (fake) AI for a race game.
I already analysed a fight game when CPU fighter use a mix of time left/blood left/previous attack/distance/random to know what to do.
There is a lot of ressource about shooting game (not a lot of AI).
but about others....?
In fact, only one kind of games minds me : SLG
Even I don't play them a lot (they need times), I like games like SForce, AWars, GadgetTrial, Senryaku Musume or others tactics and I hope to make one ...
If making a P1 vs P2 isn't that hard, I really don't know how to make a Player VS CPU
![Sad :(](./images/smilies/icon_sad.gif)
I only see one approach : at start, any CPU 'heroe' looks for their goal (based on their HP/MP for ex) and properties (defend boss, kill main character, heal allies). If a death occurs or a main heroe is in difficulty, we redefine these goals.
Some hints or links guys ?
![Wink ;)](./images/smilies/icon_wink.gif)