Web based version of the card game Hanabi
To run web-hanabi you need have Node.js installed.
Once installed, go to the web-hanabi directory and type
node server.js
on the command line to start the web-hanabi server.
If all goes well, a message will be printed stating that
a server was successfully started on port 3000. You can then
access localhost:3000 from your web browser.
Files listed under the public/ directory are served
statically.
-
websockets_test.html: Navigate tolocalhost:3000/websockets_test.htmlto test the websockets code. If you navigate to that page from several different browser windows and click the 'Send Random Message' button, a message should be sent between all instances of browsers at that page!If you want to see syncronization between different computers, navigate a browser on another computer to
<your IP>:3000/websockets_test.html