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.
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.