
Untitled
By: a guest on
May 8th, 2012 | syntax:
Java | size: 0.52 KB | hits: 16 | expires: Never
/**
* Main show routine. Loops until end of the app.
*/
public void show()
{
printWelcome();
// Enter the main command loop. Here we repeatedly read commands and
// execute them until the game is over.
boolean finished = false;
while (! finished) {
Command command = parser.getCommand();
finished = processCommand(command);
}
System.out.println("Thank you for tweeting, have a nice day!");
}