mirror of
https://github.com/magefree/mage.git
synced 2025-12-30 15:32:08 -08:00
fixed multi-human drafting
This commit is contained in:
parent
5a785b9330
commit
e2fd0299c7
31 changed files with 160 additions and 107 deletions
|
|
@ -74,8 +74,8 @@ public class MageBase {
|
|||
options.setWinsNeeded(1);
|
||||
TableView table = server.createTable(sessionId, roomId, options);
|
||||
System.out.println("Cards in the deck: " + Sets.loadDeck("UW Control.dck").getCards().size());
|
||||
server.joinTable(sessionId, roomId, table.getTableId(), "Human", Sets.loadDeck("UW Control.dck"));
|
||||
server.joinTable(sessionId, roomId, table.getTableId(), "Computer", Sets.loadDeck("UW Control.dck"));
|
||||
server.joinTable(sessionId, roomId, table.getTableId(), "Human", "Human", Sets.loadDeck("UW Control.dck"));
|
||||
server.joinTable(sessionId, roomId, table.getTableId(), "Computer", "Computer - default", Sets.loadDeck("UW Control.dck"));
|
||||
server.startMatch(sessionId, roomId, table.getTableId());
|
||||
|
||||
synchronized (syncStart) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue