Made computer names easier to type for testing and lower difficulty to speed up thinking

This commit is contained in:
Alex Vasile 2022-07-12 21:44:34 -04:00
parent 2aa17d6153
commit 9e3549fbe1

View file

@ -1717,10 +1717,10 @@ public class TablesPanel extends javax.swing.JPanel {
options.setBannedUsers(IgnoreList.getIgnoredUsers(serverAddress)); options.setBannedUsers(IgnoreList.getIgnoredUsers(serverAddress));
table = SessionHandler.createTable(roomId, options); table = SessionHandler.createTable(roomId, options);
SessionHandler.joinTable(roomId, table.getTableId(), "Human", PlayerType.HUMAN, 1, testDeck, ""); SessionHandler.joinTable(roomId, table.getTableId(), "H", PlayerType.HUMAN, 1, testDeck, "");
SessionHandler.joinTable(roomId, table.getTableId(), "Computer 0", aiType, 5, testDeck, ""); SessionHandler.joinTable(roomId, table.getTableId(), "C1", aiType, 1, testDeck, "");
for (int i=2 ; i < numSeats ; i++) { for (int i=2 ; i < numSeats ; i++) {
SessionHandler.joinTable(roomId, table.getTableId(), "Computer " + i, aiType, 5, testDeck, ""); SessionHandler.joinTable(roomId, table.getTableId(), "C" + i, aiType, 1, testDeck, "");
} }
SessionHandler.startMatch(roomId, table.getTableId()); SessionHandler.startMatch(roomId, table.getTableId());
} catch (HeadlessException ex) { } catch (HeadlessException ex) {