What you see above is a multiplayer version of the classic Snake game with a twist: whenever possible, it will automatically establish a peer-to-peer connection with your opponent. Today we’re very happy to introduce Socket.IO P2P, the easiest way to establish a bidirectional events channel between two peers with a server fallback to provide maximum reliability. Let’s look at the API and build a l
![Socket.IO — Socket.IO P2P](https://cdn-ak-scissors.b.st-hatena.com/image/square/f1c5c97abfad92d45219ed5664f3e838d2797f1f/height=288;version=1;width=512/http%3A%2F%2Fsocket.io%2Fwp-content%2Fuploads%2F2015%2F07%2FP2PChatExampleRedo2.gif)