views:

96

answers:

1

Hello;

How can I implement a collection of three computer opponents in a client/server Java game?

Thanks...

A: 

Check out Keldon's AI site - he has implemented two very good games, and they're open-source. IIRC, both rely on neural nets.

BTW, if you don't know them, Blue Moon looks rather simple but is not quite trivial, and Race for the Galaxy is quite a complex game; the AI for both is surprisingly strong. Those are not toy projects.

If you want a "more traditional" game AI, if you can quantify the player's strengths at any given point, you might want to look up Negamax algorithm - that's the most common brain behind chess and similar games. Also, Alpha-Beta pruning, which can speed it up.

Amadan