mirror of https://github.com/Askill/r_place.git
Bumps and [ws](https://github.com/websockets/ws). These dependencies needed to be updated together. Updates `ws` from 7.5.8 to 7.5.10 - [Release notes](https://github.com/websockets/ws/releases) - [Commits](https://github.com/websockets/ws/compare/7.5.8...7.5.10) Updates `ws` from 8.7.0 to 8.18.3 - [Release notes](https://github.com/websockets/ws/releases) - [Commits](https://github.com/websockets/ws/compare/7.5.8...7.5.10) --- updated-dependencies: - dependency-name: ws dependency-version: 7.5.10 dependency-type: indirect - dependency-name: ws dependency-version: 8.18.3 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> |
||
|---|---|---|
| .github/workflows | ||
| client | ||
| frontend | ||
| images | ||
| server | ||
| .gitignore | ||
| README.md | ||
| colorpalette.txt | ||
README.md
r_place
A go based r/place clone.
The server has 3 endpoints, get, set and getAll:
- get:
- websocket connection
- returns once a second all changes as individual events
- set:
-
websocket connection
-
expects data in the following format:
x: int [0 - 1000] y: int [0 - 1000] color: int [0-15] timestamp: int [unix time] userid: int
-
- getAll:
- returns a jpeg image of current state
Example Image, created by python client:
