Header

Samstag, 28. März 2009

making a concept...AI!

So, now i am constructing the AI for the game, so, what is to do? First, the AI can "see" the ships by calling someship->position();, and the own ships may be moved per "shipnumber command option", for exampe "001 N 000" to navigate the first ship to 0 degree. So the AI only has the same options as a human player, but it is faster!

So, how to make a strong AI? The AI-Ships have to kill the enemyships, hoho! What would I do? I would navigate the ships to several positions to attack the enemy by all sides, may be good, but the AI has to defend their own ships, too :S. Ah, it doesn't have to navigate _ALL_ ships to the enemy, if it has to defend something like a huge, heavy ship. So now it would be in the right position to attack, now should all ships attack one enemyship, or one enemyship for one AI-ship? Hm, I will have to invest more time in it..!

Keine Kommentare:

Kommentar veröffentlichen