Artificial Intelligence in Computer Games
Games based on moves (Chess, checkers or simple intelligence games) and low-quality two-dimensional characters and simple movements have now been replaced by characters with a realistic appearance. The fact that these characters act close to human beings with each other has increased the interaction in the games.
The increase in games and game companies day by day has increased the desire of users for more realistic graphics and smarter game characters.
At this point, artificial intelligence has started to come into play in game programming. So how should a good artificial intelligence be in computer games?
The main goal in the game is experience and stories, so artificial intelligence allows the player to trick it.
The algorithm tells you what it thinks in the game. If artificial intelligence does not convey its reactions and thoughts to you, you cannot understand well enough what it is doing.
Artificial intelligence must be predictable so that the player can recognize the enemy and develop tactics accordingly. This adds directionality to the game. Clint Hawking, one of the Far Cry 2 game designers, refers to intentionality as “the ability to generate their own meaningful goals based on the player's understanding of the game mechanics.” as explains.
Every player knows that when he shoots the red barrel, it will explode.
The artificial intelligence algorithm should have as much command of the game system as we do.
Reacts to the player. The Pac-Man designer said that he designed the attacks in waves because he felt that being surrounded by ghosts at any moment would be stressful for the player.
In Left 4 Dead, if you are injured and alone, the number and density of zombies that come upon you increases.
Another technique that the artificial intelligence algorithm offers us in games is the artificial life technique. Therefore, it must have its own life.
In the 2010 game Red Dead Redemption, the characters have a daily life cycle. The characters wake up, go to work, work in the fields, meet their friends.
The main purpose of artificial intelligence applications is not to beat the player, but to provide a pleasant experience to the player.