I would suggest you to go through Game development techniques.
You can easily find them by searching in Google.
Try something on your own.
One Code Project Article-
AI Life[
^], which might help you.
Here we answer specific questions which members face during programming.
If you face any difficulty while coding, feel free to come back here and ask another question with specific issue describing the scenario.
Members will be happy to help you then.
Happy coding. :)