To get in touch with PeerJS, I decided to develop a little game. Since I liked to play chess remotely with colleagues at that time, it was obvious to try out if this could be implemented as a small P2P project. The fact that only two participants are involved in the game also simplifies the protocol and data communication of the game, which avoids unnecessary problems when experimenting.
The result of the experiment is a simple, browser playable version of chess. As far as we have tried, all chess rules are correctly considered.