kevin-shannon / connect4

The original vertical four in a line game.
13 stars 3 forks source link

Fix online multiplayer #15

Closed tannerkrewson closed 6 years ago

tannerkrewson commented 6 years ago

Online multiplayer is currently broken because Skyway.io has gone down. I thought about removing the multiplayer altogether, but I have an idea that will fix it. We should move back to using the Peer.js library like we used to use, replacing Skyway.io. This move should be fairly trivial, because Skyway.io is a fork of Peer.js. Then, we could set up a Peer.js matching server, as I believe that the Peer.js public servers are down. I'll take a look at this sometime in the future.

In the mean time, we should disable the online multiplayer buttons.

tannerkrewson commented 6 years ago

https://github.com/kevers429/connect4/commit/32bbc671703ac1cd48f83d63f3ac1039f95875ee

....well that way easier than i expected. turns out peer.js still works. i just assumed it wouldn't.