This is a Clash Royale basic client. Only some packets have been included, you can add more following the same structure and using this: https://github.com/royale-proxy/cr-messages
- Run
go get github.com/segura2010/cr-go
to install this library - Run the install script
install.sh
to install all the dependencies. - Use this library in your own project. You can see an example in
main.go
.
I developed this lib just to learn more about Go and because I wanted to translate similar work to Golang.
I have used as reference the following libs/works about CR:
- node-cr-proxy: https://github.com/royale-proxy/node-cr-proxy
- NodeJS clash-royale-client: https://github.com/aperpen/clash-royale-client
- cr-messages: https://github.com/royale-proxy/cr-messages
- I also want to thank the developers from the "Royale Dvelopers" Discord's channel (https://discord.gg/BuUtGPM) for their help :)
Tested on Go 1.8.3