Showing posts with label Artificial Intelligence. Show all posts
Showing posts with label Artificial Intelligence. Show all posts

Saturday, November 26, 2011

What is GA?

Some of you are wondering what's behind the weird behaviour of the small roaches, and why more of them copy that behaviours.


I've implemented an AI for the small roaches. And I'm not meaning a few lines of code with some "smart behaviour", I mean a REAL Artificial Intelligente. The technique I've used is called Genetic Algorithm.

By this way, they learn how to hit and avoid be hit by the player. They also teach the other roaches how to do it. This knowledge is stored in the game, so each time you play, they keep what they know. xD
That's why they start to do weird things, and each time you play, they do more. And if you discover a way to defeat them, they'll learn the way to counter your strategy. xD

That's the algorithm never seen before in a H-game, not even in any game.
:p