Skip to content

Commit 0a195fa

Browse files
committed
Increase default rounds limit to 500
1 parent 11936cd commit 0a195fa

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

server/src/main/java/ru/croccode/hypernull/match/MatchConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ public int getCoinSpawnVolume() {
5858

5959
public static class Builder {
6060

61-
private long randomSeed = 42;
61+
private long randomSeed = System.currentTimeMillis();
6262

63-
private int numRounds = 200;
63+
private int numRounds = 500;
6464

6565
private MatchMode mode = MatchMode.FRIENDLY;
6666

server/src/main/java/ru/croccode/hypernull/server/HyperNull.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
import ru.croccode.hypernull.map.MapRegistry;
2020
import ru.croccode.hypernull.map.MapStore;
2121
import ru.croccode.hypernull.map.RandomMap;
22-
import ru.croccode.hypernull.map.RandomMapRegistry;
2322
import ru.croccode.hypernull.match.Match;
2423
import ru.croccode.hypernull.match.MatchConfig;
2524
import ru.croccode.hypernull.match.MatchListener;
@@ -112,7 +111,7 @@ private void runMatch(MatchMode mode, List<MatchRequest> matchRequests) {
112111

113112
private MatchConfig buildMatchConfig(MatchMode mode, MatchMap map) {
114113
return MatchConfig.newBuilder()
115-
.setNumRounds(200)
114+
.setNumRounds(500)
116115
.setMode(mode)
117116
.setMoveTimeLimit(1_000L)
118117
.setCoinSpawnPeriod(5)

0 commit comments

Comments
 (0)