private void play() {
SplashScreen splashScreen = new SplashScreen();
splashScreen.prompt();
UserPreferences up = splashScreen.getUserPreferences();
GameOptions go = splashScreen.getGameOptions();
GameType gameType = splashScreen.getGameType();
Locale locale = up.getLocale();
LanguageFactory.setLocale(locale);
// prompt to start game, host game, or connect to host
if(gameType.equals(GameType.HOSTED)) {
int numberOfPlayers = go.getTotalNumberOfPlayers();
HumanPlayerSwing hps = new HumanPlayerSwing(numberOfPlayers, up);
hps.setVisible(true);
hps.setUserPreferences(up);
Server server = new Server(hps, go, numberOfPlayers);
server.setNumberOfPlayers(go.getTotalHumanPlayers());
List<String> names = createListOfRandomNames();
int counter = 0;
for(String name : names) {
server.addBot(new ComputerPlayer(name));
counter++;