Puzzle.js Reference: Cooperative Solving (with a solo/co-op toggle)

This demo uses the same sort of fake server as the initial demo, but has extra client code to manage a toggle between solo and co-op modes.

Clients in solo mode should not send changes to the server and also should not receive them.

Clients that enter co-op mode should ask the server for all state. The server has to make sure that any changes after initial state are sent to this client, including changes that are received during this initial phase of configuration.

Serverless demo with a toggle between solo and co-op

Demo changes log