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

fix: server with deterministic seed #8

Open
wants to merge 1 commit into
base: deterministicTournament
Choose a base branch
from
Open

fix: server with deterministic seed #8

wants to merge 1 commit into from

Conversation

m-rots
Copy link

@m-rots m-rots commented Jun 21, 2020

Closes intelligent-systems-course/schnapsen#5

Seed is now set (globally) on the generation of each new game, causing each page refresh and refresh with SHIFT R to generate the exact same game.

The seed being set globally will probably affect the server from being able to run multiple games concurrently with full deterministic results (bot behaviour included). However, this should be a non-issue for most people as (usually) only one game is played in the browser at a time.

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.

1 participant