diff --git a/api/src/main/java/se/cygni/paintbot/api/model/GameSettings.java b/api/src/main/java/se/cygni/paintbot/api/model/GameSettings.java index d8d2c19..8873fda 100644 --- a/api/src/main/java/se/cygni/paintbot/api/model/GameSettings.java +++ b/api/src/main/java/se/cygni/paintbot/api/model/GameSettings.java @@ -43,7 +43,7 @@ public class GameSettings { private int noOfTicksStunned = 10; // The starting count for obstacles - private int startObstacles = 5; + private int startObstacles = 30; // The starting count for power up private int startPowerUps = 0; diff --git a/app/src/main/java/se/cygni/paintbot/game/GameFeatures.java b/app/src/main/java/se/cygni/paintbot/game/GameFeatures.java index 6fa42c2..ac5619a 100644 --- a/app/src/main/java/se/cygni/paintbot/game/GameFeatures.java +++ b/app/src/main/java/se/cygni/paintbot/game/GameFeatures.java @@ -47,7 +47,7 @@ public class GameFeatures { private int noOfTicksStunned = 10; // The starting count for obstacles - private int startObstacles = 5; + private int startObstacles = 30; // The starting count for power ups private int startPowerUps = 0; diff --git a/documentation/client_info.md b/documentation/client_info.md index 0688dee..3235845 100644 --- a/documentation/client_info.md +++ b/documentation/client_info.md @@ -203,7 +203,7 @@ Sent as an initial registration of the player to the server, setting up settings "pointsPerCausedStun": 5, "noOfTicksInvulnerableAfterStun": 3, "noOfTicksStunned": 10, - "startObstacles": 5, + "startObstacles": 30, "startPowerUps": 0, "gameDurationInSeconds": 2, "explosionRange": 4, @@ -233,7 +233,7 @@ Reply from the player registration, highlights are `receivingPlayerId` and `game "pointsPerCausedStun": 5, "noOfTicksInvulnerableAfterStun": 3, "noOfTicksStunned": 10, - "startObstacles": 5, + "startObstacles": 30, "startPowerUps": 0, "gameDurationInSeconds": 2, "explosionRange": 4, @@ -303,7 +303,7 @@ Event from the server informing the game is starting "pointsPerCausedStun": 5, "noOfTicksInvulnerableAfterStun": 3, "noOfTicksStunned": 10, - "startObstacles": 5, + "startObstacles": 30, "startPowerUps": 0, "gameDurationInSeconds": 2, "explosionRange": 4, diff --git a/websocket-client-example/example-client.js b/websocket-client-example/example-client.js index 34450b7..98562af 100644 --- a/websocket-client-example/example-client.js +++ b/websocket-client-example/example-client.js @@ -19,7 +19,7 @@ const registerPlayerData = { "pointsPerCausedStun": 5, "noOfTicksInvulnerableAfterStun": 3, "noOfTicksStunned": 10, - "startObstacles": 5, + "startObstacles": 30, "startPowerUps": 0, "gameDurationInSeconds": 2, "explosionRange": 4,