Black & WhiteTo analyze and critique the AI used
OutlineWhat is Black & White?How is AI used in Black & White?What AI techniques are used?What tools are used to implement the AI?What are the strengths and weaknesses of the IA?How effective is the AI in improving the game?
What is Black & White?An Artificial Intelligence based game in which the user plays God in controlling a world.The user can make good choices or evil choices, which sculpt the game.
How is AI used in Black & White?Two main focuses:
Villagers-Managing the wellbeing of the villagers
Creatures-Training the habits of the creatures chosen by God
How is AI used in Black & White?VillagersThe gameplay can not continue without the villagers, so the player must perform miracles to help the sick, feed the village, etc.The player must even choose people to be disciple breeders; which populates the villageThe villagers travel their own paths around the village, interacting differently each time the game is loaded
How is AI used in Black & White?CreatureUpon multiple runs, a creature will have many different reactionsA creature can catch sight of his reflection and go look at itIf the creature is hungry he looks around for something to eat and finds a villager, or cow, or grain..
What AI Techniques are used?Characters might have several desires, to find out about something, to satisfy hunger, to travel somewhereEach desire is associated with an intensityWhichever is the most intense, and can be satisfied nearby, the character satisfies it
What AI Techniques are used?At first creatures did not understand that eating a fence would not satisfy their hungerThey will eat it, throw it up, and learn to not eat it againThe creatures can be taught how to behaveThe player can reinforce that some actions are good by petting the creature, or show that an action is bad by slapping the creatureThe creature remembers these repercussions for future actionsCreatures even watch actions of the player and imitate themEx: Casting a spell
Ex: Learned Spells
What tools are used to implement the AI?Dynamically Building Decision-Trees for learning optionsHow does a creature learn what sorts of objects are good to eat? He looks back at his experience of eating different types of things, and the feedback he received in each case, how nice they tasted, and tries to "make sense" of all that data by building a decision tree. Suppose the creature has had the following experiences:
What tools are used to implement the AI?What he ate:A big rockWhat he ate:A small rockWhat he ate:A treeWhat he ate:A cow Feedback: -1.0Feedback:-0.5Feedback:-0.4Feedback:+0.6
What tools are used to implement the AI?A decision tree is built by looking at the attributes which best divide the learning episodes into groups with similar feedback values
The algorithm used to dynamically construct decision-trees is based on Quinlans ID3 system
Example of Quinlans ID3 Systemif skin = hairy and colour = brown and size = large and flesh = hard then conclusion = safe Conclusions are made based on gathered testing, not information previously hard codedEach new set of data collected from action/reaction causes a path on a decision tree to be created with a conclusion to it
What are the strengths and weaknesses of the AI?The contradiction of creatures being person like and useful created some a strength and a weakness the longer you play the gameFirst, the player can sculpt the creature over time which gives satisfaction to the playerSecond, this creature loses a lot of his charm the more you train him because he is focusedThe creature becomes useful, but robotic
Ex: Sculpted CreaturesZebra: Good, Neutral, and Evil
Ex: Sculpted CreaturesCow: Good, Neutral, and Evil
Ex: Sculpted CreaturesLeapord: Good, Neutral, and Evil
What are the strengths and weaknesses of the AI?StrengthAgents have separate belief systems due to the fact that they start with none, and create a belief system on actions that happen in the gameThis way agents do not act the same, because they gather different information during the game
What are the strengths and weaknesses of the AI?WeaknessJuggling the attention of the creature and the maintenance of the villagers becomes difficult and tediousThe actions that creatures can perform are based on a limited set of variablesDamageHungerTirednessIt would seem more human like if there were many different reasons that the creatures would make decisions
How effective is the AI in improving the game?In the beginning of the game, before the player has focused the creature due to discipline, the AI is very interesting to watchAfter the creature is focused, the AI is not as interesting to watch because it becomes predictable
How effective is the AI in improving the game?Overall, the concept of having a game where you build a population and take care of it like SimCity, is not nearly as interesting as Black & White due to the AIIt is fun to play a God like role in both games, but in Black & White you see direct changes in behavior of characters, which makes it much more fun