Heavy lifting for the websocket server done by: nekudo
I originally forked this code, but seeing as it's going towards a game, I'm pretty sure that's not the direction intended. Here's a link to the original repo. Give it a look over: https://github.com/nekudo/php-websocket
Using Electron quick start for base of the project.
navigate to root of repo
cd client
npm install && npm start
navigate to root of repo
php ./server/server.php