Assume you are making a game where the Hero raids an Egyptian Tomb. And there are Mummies guarding the Pharaoh’s treasure!
Mummy’s behavior:
Goal: create a finite state machine for the mummy’s behavior.
Define states and behavior in each state
Define state transitions
Sketch out pseudo code for the transitions
Assume “close” is 100 meters (smell/sense)
Assume “see” is line of sight
Add a powerup for the Hero - the Ankh. The Ankh causes all Mummies in the pyramid to cower in fear for 5 seconds. Add states and transitions for the Ankh.
Have ONE person from each group submit the group’s answers:
https://wpi.qualtrics.com/jfe/form/SV_a3JVjGgnEpFFXj8
Make sure to include the names of all group members.
Happy state-machine-ing!
– Mark