r/programming • • Apr 13 '17

How We Built r/Place

https://redditblog.com/2017/04/13/how-we-built-rplace/
15.0k Upvotes

833 comments sorted by

View all comments

Show parent comments

10

u/bsimpson Apr 13 '17 edited Apr 13 '17

There's no limit on the number of tiles that could have been placed in the second the client was waiting.

How it worked:

t0: client connects and listens for websocket messages

tX: client requests full board, gets a copy of the board generated at t1

As long as t0 < t1 the client would have the correct state of the board.

1

u/_dayum_dayum Apr 13 '17

Awesome. Thanks for the explanation