Right now the random displacement of stones are generated when the page loads, which means refreshing moves all the stones around. Worse: in the code this map is passed in to the board.
A better way of doing this would be for the board to generate its own fuzzy placement based on a seed. Then refreshing the page would give the same displacement and the stones wouldn't move all over the place. This is exactly the implementation I put in OGS here, it would just be nice to have it in libaduk as well.
Right now the random displacement of stones are generated when the page loads, which means refreshing moves all the stones around. Worse: in the code this map is passed in to the board.
A better way of doing this would be for the board to generate its own fuzzy placement based on a seed. Then refreshing the page would give the same displacement and the stones wouldn't move all over the place. This is exactly the implementation I put in OGS here, it would just be nice to have it in libaduk as well.