Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Practical Game AI Programming

You're reading from   Practical Game AI Programming Unleash the power of Artificial Intelligence to your game

Arrow left icon
Product type Paperback
Published in Jun 2017
Publisher Packt
ISBN-13 9781787122819
Length 348 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Micael DaGraça Micael DaGraça
Author Profile Icon Micael DaGraça
Micael DaGraça
Arrow right icon
View More author details
Toc

Utility-based functions

Now that we know how to calculate chance and use AFSMs, it's time to explore them a little more and make our characters look smart. This time, we'll use an AI character that is set to behave autonomously in a simulation game such as The Sims. This is a perfect environment to test artificial intelligence because it mimics real-life needs and choices.

In the video game The Sims, the player has the opportunity to control a human-like character and the main goal of the game is to make sure that the character is always in good situations and that their personal and professional life is always on a positive note. Meanwhile, time goes by, just like in real life, and the character gets older until he finally dies at the end. The player is responsible for the life of that being but if the player doesn't give any orders to the character, he will react...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime