PeerChess – Chess with PeerJS

PeerJS LogoI’m not really a JavaScript developer, because I haven’t been commissioned with a JavScript project yet. However, I am very interested in P2P communication. When I came across a news feed about PeerJS, a library for browser-based P2P communication, I decided to start a small experiment.

PeerChess

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.

References

Leave a Reply

Your email address will not be published. Required fields are marked *