Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- public class UI {
- public static void main(String[] args)
- {//TODO move this shit out of main
- System.out.println("Welcome to the pr2 chat program, designed by nikc10");
- Scanner consoleRunner = new Scanner(System.in);
- System.out.print("Please enter your username:");
- String userName = consoleRunner.nextLine();
- //add in name size checker
- System.out.print("Please enter your password:"); //Find out how to make stars?
- String password = consoleRunner.nextLine();
- System.out.println("Please enter the server that you wish to join:");
- String serverName = consoleRunner.nextLine().toLowerCase();
- String[] serverList = {"derron", "carina", "grayan", "fitz", "loki", "promie", "morgana", "andres"};
- }
- }
Add Comment
Please, Sign In to add comment