IMGD 4100 (B 11)

Homework Assignment #2

Bar Fly

Due by Web Turn-In: Midnight, Sunday, October 30

(See general homework instructions for turn-in details.)

The purpose of this assignment is to familiarize you with the code in Chapter 2 for state machines with messaging. You will modify the code in the WestWorld/WestWorldWithMessaging folder to add a new character into this simulation, creating his state machine and altering the Miner code to respond to him.

The new character is Sal, the Bar Fly. Sal never leaves the Saloon. His finite state machine looks like this:


Here's some implementation tips:

What to Turn In

Grading

Please post any questions to the myWPI forum for the course.

Acknowledgement: I would like to thank Robin Burke for allowing the reuse of this assignment.