adam-lynch / back-of-your-hand

How well do you know your area? Test your knowledge by locating streets with this game.
https://backofyourhand.com
Mozilla Public License 2.0
79 stars 9 forks source link

Multiplayer out-of-sync if leader starts multiplayer after playing solo #60

Open adam-lynch opened 3 months ago

adam-lynch commented 3 months ago

Steps:

  1. Leader plays a round.
  2. Press "Reset".
  3. (Don't do anything else but...) Press "Play with friends".
  4. Copy link and open in another tab/browser.
  5. Start game for both leader and friend.

Expected: the streets are the same. Actual: the streets are different. The friend's street is the first street from the round the leader played before starting multiplayer.

adam-lynch commented 3 months ago

Side note: I am working on overhauling the build system etc. and TypeScript is complaining about some seed usage. So I'll resolve that first, maybe that's the cause.