Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce the --seed flag #490

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bennyz
Copy link
Member

@bennyz bennyz commented Jul 31, 2024

This patch makes each map generated from a random seed, the length of the seed is controllerd by config.seed_length.

Since each run is seeded, it is possible to use a custom seed to start the server, using:

$ ./rose-server --seed <seed>

This makes every run reproducible for debugging and testing.

Authored by:
mashashtiv
ZoeSasportas

@bennyz bennyz force-pushed the generate-seed branch 2 times, most recently from 470ecbb to 14aa237 Compare July 31, 2024 11:02
This patch makes each map generated from a random seed, the length of
the seed is controllerd by config.seed_length.

Since each run is seeded, it is possible to use a custom seed to start
the server, using:
```
$ ./rose-server --seed <seed>
```

This makes every run reproducible for debugging and testing.

Co-authored-by: Masha Shtivelberg <mashashtiv@gmail.com>
Co-authored-by: Zoe Sasportas <zoesasportas@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants