Justin Gilman cdc59566d2 file permissions commit | vor 5 Jahren | |
---|---|---|
client | vor 5 Jahren | |
server | vor 5 Jahren | |
.gitignore | vor 5 Jahren | |
README.md | vor 5 Jahren | |
index.html | vor 5 Jahren | |
package-lock.json | vor 5 Jahren | |
package.json | vor 5 Jahren |
A browser-based multiplayer game.
In the directory run
npm install
and then
npm start
And the websocket server will be running on localhost:8080
Point a webserver to the client directory and then navigate to index.html
If you would like to use the client to connect to a different websocket, add the query string ?socket=ws://localhost:8080
but replace the host and port.