If you are here, then you may have come from my tutorial series on YouTube. If not, you can go check it out:
If you have any feedback let me know!
Get the code
go get github.com/unitoftime/mmo
The current instructions are slightly complicated
cd cmd/
mkdir build
make all
# Everything should build - There will be one step where you generate a key, This is for the TLS connection between your client and proxy. You can leave all of the options blank (ie just hit enter until the key starts generating)
bash run.sh
# This will start the server, then the proxy, then launch a desktop client
If you want to test the wasm you'll have to host the build/
folder at some url. I use a simple go webserver to host my folder. Also, when you access the hosted URL, the browser will complain that the key at localhost:port
isn't a part of any Certificate Authority. This is because you just manually generated the key. You have to skip the security check. Chrome had a way for me to allow arbitrary keys for localhost connections, so I enabled that.
You'll have to manually start the server and proxy binaries too:
# Shell 1
cd cmd/build/ && ./server
# Shell 2
cd cmd/build/ && ./proxy
# Shell 3
# Whatever webserver command you use to serve it
- Code: MIT License.
- Artwork: All rights reserved.