josephg / ShareJS

Collaborative editing in any app
Other
4.97k stars 456 forks source link

Document server-side validation #91

Open weepy opened 12 years ago

weepy commented 12 years ago

Hi - say I wanted to run a game of chess using ShareJS, and I wanted to be able to stop people cheating by moving their pieces in arbitrarily. How would I do this using ShareJS ?

Also perhaps I wanted the server to check the state of the game etc.

CrypticSwarm commented 12 years ago

Its currently not documented, however take a look at the advice in https://github.com/josephg/ShareJS/issues/90

wmertens commented 12 years ago

So someone needs to update the wiki to explain how to do this.