~/talk

Multiplayer games and (...) with LiveView

Talkat ElixirConf EU Virtual 2020 · 2020-10-07..10-08· [elixir-and-erlang]
slides:none on file

Builds a working AgarX clone using Elixir, Phoenix, LiveView with a single GenServer as the authoritative GenServer world state that ticks (delta time for ~30fps) and resets rounds every three minutes; clients join via QR and use phones as joysticks. Uses nested structs, normalized event routing, and an effects list so logic is pure and testable (property tests via norm/typecheck). Demonstrates limits—LiveView latency and DOM/canvas constraints—but shows the multiplayer demo running and scalable across browser sessions.

AI-written summary · about

  1. 0:00Intro
  2. 1:00Overview
  3. 1:34Why LiveView
  4. 2:09Color Correction
  5. 3:17Collaborative Editing
  6. 4:13Multiplayer games
  7. 5:04Global Game Jam
  8. 6:19Foundation of LiveView
  9. 6:31Realtime requirements
  10. 8:19Elixir architecture
  11. 10:03Integration
  12. 10:21Issues
  13. 11:22Architecture
  14. 11:37Shared State
  15. 13:12Agar X
  16. 14:08Game logic
  17. 16:05State
  18. 17:08Nested State
  19. 18:20Controls Module
  20. 19:01Nested Event Handling
  21. 20:01State Handling
  22. 21:02Side Effects
  23. 22:24Example
  24. 23:25Diminishing Returns
  25. 23:43Effect Interpreter
  26. 25:39Rendering
  27. 27:27Software Complexity
  28. 31:06Extra Resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.