I've got a really cool real-time strategy game I'm working on, but I have no idea how to make a good AI. I'm sure I'm not the only one with this question, and good knowledge of how to make artificial intelligence would be very useful. Please help and post lots of insightful comments about how to make an AI. Maybe random number generator?
[blocks]
<pick random( )to(
<if> [/blocks] etc.
Offline
It depends on what kind of game you're making an AI for. Can you show the project?
Even the genre isn't really enough (unless it's platformer) to tell what kind of AI.
A random number generator isn't very good for complex AI. Try checking positions and variables, think what you would do if for example, the enemy has 100 people and you have 2, would you make them fight or run?
Offline