Answers.Body: <p>Most of the existing AI bots which can play games use deep search from possible space and choose the best move. This is done by most of the chess, Go, Tic-Tac-Toe, etc bots.</p>
  
  <p>However, there has been a recent breakthrough where (deep)neural nets with deep search techniques like monte-carlo search, etc; which might be more human-like and demonstrate a much more complex game behaviour than the above bots. One such example is the Google's Alpha-Go bot.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-08-04T15:39:00.553Z
Answers.Text: Don't a lot (the kind we might find in an interactive game, for instance), also use heuristics?
Answers.UserDisplayName: winwaed
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-08-04T15:46:01.753Z
Answers.Text: It really depends on what sort of game we're talking about. This answer seems to be aimed mainly on board games. It would be quite different in racing games or real-time strategies, for instance.
Answers.UserDisplayName: Disenchanted Lurker
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-08-04T15:48:35.993Z
Answers.Text: @winwaed Yeah, I assumed it under the term `Deep Search`. But, I'm not really sure it makes it look a lot human-like :)
Answers.UserDisplayName: Dawny33
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-08-04T15:33:07.120Z
Answers.LastActivityDate: 2016-08-04T15:33:07.120Z
Answers.UserDisplayName: Dawny33
Answers.Body: <p>There are many different kinds of AI used in games; AI for historical board games (like chess or Go) tends to be much better than AI for computer games (such as Starcraft or Civilization), in large part because there's more academic interest in developing strategies for those games.</p>
  
  <p>The basic structure of a game-playing AI is that it takes in game state inputs and outputs an action; typically, the internals also contain some sort of goal and some sort of future prediction.</p>
  
  <p>But beyond that, there's tremendous amounts of variability. Some AI are little more than scripted reflexes, some are built like control systems, some do actual optimization and forward thinking.</p>
  
  <p>Getting into the details of <em>how</em> the many different approaches work is probably beyond the scope of this site, though.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-08-04T16:04:43.973Z
Answers.LastActivityDate: 2016-08-04T16:04:43.973Z
Answers.UserDisplayName: Matthew Gray
Body: <p>Artificial intelligence is present in many games, both current and older games. How can such intelligence understand what to do? I mean, how can it behave like a human in a game, allowing you to play against itself, or that AI plays against itself?</p>
  
  <p>In games like Age of Empires, for example.</p>
  
Tags: <gaming>
Title: How does artificial intelligence work in games?
UserDisplayName: Florida
ThreadText: # How does artificial intelligence work in games?
  
  (Asked by: username_0 on 2016-08-04)
  
  Artificial intelligence is present in many games, both current and older games. How can such intelligence understand what to do? I mean, how can it behave like a human in a game, allowing you to play against itself, or that AI plays against itself?
  
  In games like Age of Empires, for example.
  
  **Tags:** gaming
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_4 on 2016-08-04. Score: 5 | Accepted answer
  
  There are many different kinds of AI used in games; AI for historical board games (like chess or Go) tends to be much better than AI for computer games (such as Starcraft or Civilization), in large part because there's more academic interest in developing strategies for those games.
  
  The basic structure of a game-playing AI is that it takes in game state inputs and outputs an action; typically, the internals also contain some sort of goal and some sort of future prediction.
  
  But beyond that, there's tremendous amounts of variability. Some AI are little more than scripted reflexes, some are built like control systems, some do actual optimization and forward thinking.
  
  Getting into the details of *how* the many different approaches work is probably beyond the scope of this site, though.
  
  
  ---
  
  ### Answer by username_1 on 2016-08-04. Score: 2
  
  Most of the existing AI bots which can play games use deep search from possible space and choose the best move. This is done by most of the chess, Go, Tic-Tac-Toe, etc bots.
  
  However, there has been a recent breakthrough where (deep)neural nets with deep search techniques like monte-carlo search, etc; which might be more human-like and demonstrate a much more complex game behaviour than the above bots. One such example is the Google's Alpha-Go bot.
  
  > **Comments:**
  > **username_2**: Don't a lot (the kind we might find in an interactive game, for instance), also use heuristics?  
  > **username_3**: It really depends on what sort of game we're talking about. This answer seems to be aimed mainly on board games. It would be quite different in racing games or real-time strategies, for instance.  
  > **username_1**: @username_2 Yeah, I assumed it under the term `Deep Search`. But, I'm not really sure it makes it look a lot human-like :)  
  
  ---
  
  