Skip to content

Commit 9e8105a

Browse files
committed
docs(SDK): v4.2.0
1 parent 2d72f46 commit 9e8105a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

playground/core-concepts/core-3-game-manager.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public class Referee extends AbstractReferee {
9191
@Override
9292
public void init() {
9393
// Map size can be 5,6,7 or 8
94-
int mapSize = 5 + new Random(gameManager.getSeed()).nextInt(4)
94+
int mapSize = 5 + gameManager.getRandom().nextInt(4)
9595
gridMaker.init(mapSize);
9696
}
9797
}

playground/misc/misc-3-release-notes.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@ The CodinGame SDK is regularly updated and improved. This document lets you know
44

55
## Next Release
66

7+
### 🎁 Features
8+
9+
- Provide a `getRandom` function to an instance of `SecureRandom`, please use this instead of creating your own `Random`
10+
711
### 🐞 Bug fix
812

913
- Updated links to pixi docs
1014
- Updated log4j dependency
11-
- Use secure random
1215

1316
## 4.1.6
1417

0 commit comments

Comments
 (0)