Justin Gilman cdc59566d2 file permissions commit | %!s(int64=5) %!d(string=hai) anos | |
---|---|---|
client | %!s(int64=5) %!d(string=hai) anos | |
server | %!s(int64=5) %!d(string=hai) anos | |
.gitignore | %!s(int64=5) %!d(string=hai) anos | |
README.md | %!s(int64=5) %!d(string=hai) anos | |
index.html | %!s(int64=5) %!d(string=hai) anos | |
package-lock.json | %!s(int64=5) %!d(string=hai) anos | |
package.json | %!s(int64=5) %!d(string=hai) anos |
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.