Draw Starting Scene Draw Logo, login buttons (Example 1) Draw character pics start animations while (buttonclick not= true) { update pictures and buttons make sure animations still going wait for a click } which = buttonclicked if (which == multi) { MultiPlayer(); } else { singleplayer(mode,port); // mode = "single", port = 1 which is local } **************************************************************************** Multiplayer procedure **************************************************************************** void MultiPlayer() { connect to server // maybe return of multiplayer should be int, 0 = no errors 1 = connect // error, others to come version = getfrom server if (version > computerVersion) { downloadVersion(version); } Draw logo, random pictures (Example 2) Draw userfield, passfield Draw enterbutton, newbutton Draw News, Bug Fixes while (buttonclick not= true) { redraw buttons, fields, pics wait for click or text entered } send info to server while (reply == "false") { DrawDialog("Connecting..."); } if (reply == notpass) { startagain from example 2 comment } get characters from server draw characters as radio buttons (Example 3) draw info under characters draw cancel and logins buttons while (buttonclick not= true) { redraw all wait for radio selection wait for click } get selection if (selection == null) { go back to example 3 comment } EnterChat(account,character); } ***************************************************************************** End Multiplayer *****************************************************************************