Skip to content

Commit 06f477b

Browse files
authored
Update README.md
1 parent 38d8f68 commit 06f477b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Drawings are stored as an unordered set of line segments, each represented by a
3434

3535
Drawing updates are published using realtime [data messages](https://docs.livekit.io/home/client/data/messages) with the topics `player.draw_line` and `player.clear_drawing`. Drawings are stored in unit coordinates, which each point between 0 and 1 to be size-agnostic. However, when sent as a data message each segment is serialized as four 16-bit integers (representing `x1`, `y1`, `x2`, `y2`) between 0 and 65535 to minimize the message size. Each player, and the agent, reconsitutes the full drawing from these messages.
3636

37-
When a player joins an inprogress game, they retrieve the current drawing state from each player with [RPC](https://docs.livekit.io/home/client/data/rpc) by calling `player.get_drawing`.
37+
When a player joins an in-progress game, they retrieve the current drawing state from each player with [RPC](https://docs.livekit.io/home/client/data/rpc) by calling `player.get_drawing`.
3838

3939
### Game Control
4040

@@ -87,7 +87,7 @@ cd agent
8787
python -m venv venv
8888
source venv/bin/activate
8989
pip install -r requirements.txt
90-
``
90+
```
9191

9292
Finally, boot the agent:
9393

0 commit comments

Comments
 (0)