https://github.com/tokenrove/xyrds-client
Notes on a client for Crossy Roads on AppleTV
https://github.com/tokenrove/xyrds-client
Last synced: 5 months ago
JSON representation
Notes on a client for Crossy Roads on AppleTV
- Host: GitHub
- URL: https://github.com/tokenrove/xyrds-client
- Owner: tokenrove
- Created: 2015-12-19T13:31:37.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-01-10T16:42:33.000Z (over 9 years ago)
- Last Synced: 2025-07-26T15:57:50.791Z (11 months ago)
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Eventually this will be a Crossy Roads client.
Discovery
---------
Crossy Roads announces itself via mDNS as
crossy-roads._tcp
Protocol
--------
The protocol runs over TCP.
Each message is prefixed with 0x01, followed by a byte giving the type
of message. Almost always what follows is some fixed number of signed
little-endian 32-bit integers.
Client messages
------------------
Play again:
0168 01000000 02
The final byte in this message is the exception to the rule of 32-bit
ints in the protocol.
Move:
0164 dir player 00000000
directions:
1 -> forward
2
3
4 -> right
-1
-2
-3
-4
Server messages
---------------
0165
0166
0167