+
+ void init(long seed) {
+ random = new Random(seed);
+ switch (random.nextInt(4)) {
+ case 0:
+ roadLength = 6;
+ initialStones = 15;
+ break;
+ case 1:
+ roadLength = 6;
+ initialStones = 30;
+ break;
+ case 2:
+ roadLength = 14;
+ initialStones = 30;
+ break;
+ case 3:
+ roadLength = 14;
+ initialStones = 50;
+ break;
+ }
+
+ trollPosition = roadLength / 2;
+ }