diff --git a/doc/protocol.txt b/doc/protocol.txt new file mode 100644 index 0000000..6eff2f7 --- /dev/null +++ b/doc/protocol.txt @@ -0,0 +1,32 @@ +Positions: + + 0123456789 +A +B +C +D +E +F +G +H + +(positions are denoted by row and column, e.g. D4) + +Directions: + +NW N NE +W x E +SW S SE + +Rotations: + +L, R (or CW, CCW) + +Messages: + +M[OVE] position direction +R[OTATE] position rotation + +Example: + +M F5 NW