Capture the flag - Finite State Machine
- itzvnodm
- Nov 21, 2014
- 1 min read
Made a 4 vs 4 game of "Capture the flag" using Finite State Machine.
AI exhibits "squad behavior".
a. Each AI entity communicates with fellow team members via messages. b. Messages include 'Intents' like "I'm going in for the flag", and 'status' like "I've just been captured." c. Each AI builds up his own data, called the 'situation', based on these messages. He can then base his next state change on that situation. 4. Created a scrolling "Message Event Window" where all the AI messages from one team are displayed.
Comments