You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
6 years ago | |
|---|---|---|
| assets | 6 years ago | |
| client | 6 years ago | |
| server | 6 years ago | |
| socket | 6 years ago | |
| .gitignore | 6 years ago | |
| README.txt | 6 years ago | |
| controls.css | 6 years ago | |
| grid.css | 6 years ago | |
| index.css | 6 years ago | |
| index.html | 6 years ago | |
| join.css | 6 years ago | |
| package-lock.json | 6 years ago | |
| package.json | 6 years ago | |
README.txt
## Event Architecture
- Local events are broadcast as custom events prefixed `L-`
- Incoming global messages are broadcast as custom events prefixed with `G`
## Robot Movement
The state of the robots are fully contained in a central stack, allowing undo, reset, shadowing, replays, and move counting.
Any movement, including initial locations, is represented by pushing or popping locations from the stack.
A victory state can be stored by taking a snapshot of the current stack.
## Icons
Icons from [https://game-icons.net](https://game-icons.net)
## TODO
- win declare
- replay stack
- countdown skip
- slide arrows
- chat box
- no cancel from name prompt
- restore state on join
- limit concurrent players, make sure connections are closed
- move websocket server to /core
- dynamic socket server resolution
- walls and winstate algorithm
- tutorial
- donate link