Looking for source code? I wish you use this for your own good...
I didn't realize the importance of state diagram when I did this project (good excuse for lazy butts). I drew only sequence diagrams. This created a lot of problems. The behavior of the simulator was unpredictable and I didn't know where to fix (even though I got all the sequencing right). I spent two weeks trying to get all the bugs fixed (actually they were all fixed two months after the end of the semester.) In later work, I found out that state diagram help controlling behavior of each class. Even if a bug occur, you will know exactly where to fix.Trust me! create good sequence diagrams and state diagrams. Take a good look; try to write pseudo code out of them and you will understand why people claim automatic code generation is possible!!!
Copyleft © 1999-2000 AnT. All rights reserved.