logic
logic copied to clipboard
Resolve movement conflicts through a clockwise order starting from the North