Skip to content

Commit

Permalink
Merge pull request #52 from cygni/feature/start-obstacles
Browse files Browse the repository at this point in the history
Raise startObstacles to 30
  • Loading branch information
juiceit authored Apr 9, 2021
2 parents 76e9113 + e5f4001 commit 58c3546
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/se/cygni/paintbot/game/GameFeatures.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
6 changes: 3 additions & 3 deletions documentation/client_info.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion websocket-client-example/example-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const registerPlayerData = {
"pointsPerCausedStun": 5,
"noOfTicksInvulnerableAfterStun": 3,
"noOfTicksStunned": 10,
"startObstacles": 5,
"startObstacles": 30,
"startPowerUps": 0,
"gameDurationInSeconds": 2,
"explosionRange": 4,
Expand Down

0 comments on commit 58c3546

Please sign in to comment.