My dodgeball javascript game with node.js and socket.io
To get this to work you need to do of steps
- First download the code and put it in a folder.
- Install Node.js on your compueter (it is different on different OS)
- When you have installed write "npm init" when you are in your map with the files and follow the steps.
- Then type "npm install express"
- And also type "npm install socket.io" . This will install the two packages that we need.
- Now in your promt and in you folder tpye "node app.js". This should start the server.
- Then open your client.html file inside client folder and you should be connected
Have fun playing the game!