State Diagram

Program start
and
initialization
Command line
parameters set
Game
Initialization
Pre-game values set
Playing Game
New game round has
begun with players that
are still in the game
Round
Each player takes a turn
and performs various
tasks
Completion condition met
All players still in
game complete
round
If flag is set for
when first player
goes bankrupt,
game ends
End of game
Statistics collected
and prepared for
output
Statistics output
Start another game if
needed according to
command line parameters
MMTS State Diagram