~/talk

Building a Retro MMO using Web Sockets and Node

Talkat UtahJS Conf 2019 · on Friday, 2019-09-20· [nodejs, web-platform]
links:none on file
slides:none on file

Builds a grid‑based retro MMO using Node and ws WebSockets with an authoritative server that stores actors as 2D points and metadata. Clients send intents (move north, attack) and the server validates, applies business logic, and broadcasts diffs to all clients via a simple for‑loop over connections. Demo runs on a $5 DigitalOcean droplet, handles hundreds of messages for NPCs and players but shows lag without optimistic client prediction, and uses ws (non‑TLS) in the demo so production needs wss and reconnect handling.

AI-written summary · about

  1. 0:00Introduction
  2. 1:06Speaker background and hiring
  3. 3:16Live demo of the game
  4. 5:55Introduction to WebSockets
  5. 8:45WebSocket implementation
  6. 10:45MMO architecture and bugs
  7. 14:03Analyzing the server code
  8. 17:26Client-side functionality
  9. 19:32Inspiration and conclusion
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.