SigmaHyperon / dnd-rtc

1 stars 0 forks source link

Character move broadcasting #12

Open SigmaHyperon opened 5 years ago

SigmaHyperon commented 5 years ago

Whenever the user moves a character on the board, the resulting endposition should be broadcast to the network The transmission should include a timestamp to enable collision-resolution in race-conditions

SigmaHyperon commented 5 years ago

proposed transfer format example per character:

{
    "id": "<uid>",
    "name": "Jesus",
    "hp": "42%",
    "position": {
        "x": 100,
        "y": 100
    }
}