Decision making concepts,State machines and Fuzzy logic


Decision Tree

The first thing I will talk about in this section of the assignment, in connection with my game, is Decision Tree, which can also be known as Classification Tree. This is a tree like graph that collects together all of the decisions that the AI has made and stores them in this tree graph.  These decisions are made up of parent and child nodes, the parent nodes represent various choices while the child nodes represent possible decisions, like yes, no or maybe.  For the tree to work properly the child nodes have to represent all of the possible decisions that can be taken.  I think that I could use the Decision Tree in my football game to  allow the players to make decisions such as attack from the left hand side, right hand side or pass to another AI player. 
  



Image result for Decision Tree






State Machines 

The next subject I will talk about is State Machines, this involves AI characters switching between various states of play within a game, such as wandering, patrolling, attacking or evading. If in a game an AI player is wandering and the player decides to provoke them they can switch to the attack state, this can change to evade if the AI character is sustaining too much damage or losing too many allies. I am not sure that this technique would be suitable for my game, as the only way I think it could be used would be to have some AI characters attacking the ball and some defending their goal.   

        


Image result for State machines






Fuzzy Logic

The subject I will now talk about in this assignment regarding my game idea is Fuzzy Logic. Logic is usually true or false, in a game situation this would be dead or alive. However Fuzzy Logic deals with the concept of a grey area which is considered partial truths, such as an AI character being slightly damaged but repairable.  Also this can be where the AI character makes a decision either to fight and die or run away and get help. It can also be used to create a simple weapon selection system as well as controlling enemy units. This makes the AI characters more lifelike and the game much more realistic for the player.    However I do not think Fuzzy Logic would be suitable for my football game as it does not really deal with partial truths, but my shooter game could use it to control enemy units, allow the AI characters to decide whether to fight or flee and get help. 


       

Image result for Fuzzy logic

Comments

Popular posts from this blog

Assignment 2 Algorithms, heuristics and hacks

Assignment 2 Boids Flocking, A* Algorithm,Dijkstra Algorithm and Cost Driven