-
Notifications
You must be signed in to change notification settings - Fork 246
New Developers
paddatrapper edited this page Oct 4, 2014
·
5 revisions
The program is initiated from the main class JAdventure.java. This then starts the QueueProvider.java if the game is running in standalone mode. Otherwise it runs as a client or server, depending on the command line arguments.
The QueueProvider.java is a blocking queue used to send messages to the user. Messages are offered to the queue and then the queue sends them to the server, if in client mode, otherwise they are printed to the standard output stream.