Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Artificial Intelligence.  (Read 4026 times)

0 Members and 1 Guest are viewing this topic.

Nabeel Rehman

  • Newbie
  • *
  • Posts: 13
    • View Profile
Artificial Intelligence.
« on: April 29, 2017, 05:57:11 pm »
Hi guys, i'm making a tank game in which i need some type of AI to control my enemy tanks i.e they move on their on and fire on their on, I've never done some thing like this before so i have no idea where to start. If you guys could suggest me something related to Artificial Intelligence to start with i'll be very thankful.

Elias Daler

  • Hero Member
  • *****
  • Posts: 599
    • View Profile
    • Blog
    • Email
Re: Artificial Intelligence.
« Reply #1 on: April 29, 2017, 07:06:34 pm »
Programming AI by example is a perfect start.
Tutorials from this blog are pretty great as well.
And if you still don't have enough information, check out this book too. :)
Tomb Painter, Re:creation dev (abandoned, doing other things) | edw.is | @EliasDaler

GameBear

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
    • Email
Re: Artificial Intelligence.
« Reply #2 on: May 06, 2017, 10:50:13 pm »
Hey, I agree fully with Elias.
The book suggested is a great entry point...

One thing that could be important is to figure what kind of Ai you want... How important is "natural" dessisions?
On one end you could just use a state machine. (see enemy? Yes -> attack, no -> next question!)
On the other end you could run a small neural network (or an advanced one)

But some questions...
What are your knowledge of programming?
Any ai knowledge?
Have you made other games or game parts before?
Is this a top down or side view tank game?

And much more...
Best regards.
string message = "some random dude";
cout << "I'm just " << message;

Sub

  • Full Member
  • ***
  • Posts: 157
    • View Profile
Re: Artificial Intelligence.
« Reply #3 on: May 16, 2017, 11:31:01 pm »
Programming AI by example is a perfect start.

This is a fantastic book. 

For pathfinding, this was helpful to me in the past. 

On a final note, two years ago I wrote a quick post explaining how I made a Tetris AI here.  Not the most relevant thing for most games, but for Tetris it was surprisingly effective

 

anything