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.
 
 
 
Ben Burlingham 9b62ec7336 Adding to public-facing deploy. 5 years ago
assets Adding to public-facing deploy. 5 years ago
client Adding to public-facing deploy. 5 years ago
server Adding to public-facing deploy. 5 years ago
style Win stack replay loop. 5 years ago
.gitignore Initial commit. 5 years ago
README.md Adding to public-facing deploy. 5 years ago
index.html Win stack replay loop. 5 years ago
package-lock.json Websocket communication foundation. 5 years ago
package.json Namespacing socket server architecture. 5 years ago

README.md

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.

Credits

Icons from https://game-icons.net

TODO

  • walls and winstate algorithm
  • tutorial
  • restore name prompt1