fix: resolve various issues with ai, cloning and turn order handling

This commit is contained in:
2021-06-05 04:00:25 +02:00
parent cd992b0fa6
commit f2a961d159
6 changed files with 50 additions and 37 deletions

View File

@ -39,9 +39,7 @@ class AITest extends BaseGameLogicTest {
void main() throws InterruptedException {
serverSend(server.startGame(player1Selection, player2Selection).toArray(new Event[0]));
Thread.sleep(1000);
System.out.println(server.toString());
Thread.sleep(10000);
}
private void clientSend(Request[] requests) {

View File

@ -17,7 +17,7 @@ public class BaseGameLogicTest {
protected static final ArrayList<Integer> player2Selection = new ArrayList<>();
protected static void generate() {
partyConfig.maxRounds = 100;
partyConfig.maxRounds = 50;
partyConfig.mindStoneCD = 2;
partyConfig.powerStoneCD = 3;
partyConfig.realityStoneCD = 4;