PeerChess – Chess with PeerJS
The project PeerChess is all the more exciting for me: Based on web sockets and using the library PeerJS, which is currently under development, I wanted to find out how easy (or difficult) it is to implement a P2P application in Java-Script. The code and the implementation may not be perfect, but it is enough to get to know and clarify the principle a little bit.
Conclusion: The most complicated was the implementation of the chess rules. Using PeerJS (ignoring minor bugs in the library that are still to be fixed) will quickly lead to the goal of developing a working P2P application.
If you are interested in the source code, I have published PeerChess GitHub.