~/talk

Taming snakes with reactive streams

Talkat NG-BE 2017 · 2017-12-07..12-08· [reactive-programming, frontend-architecture]
slides:none on file

A working snake game is built entirely with rxjs, claiming no external state by capturing all state inside streams and using scan to accumulate positions and lengths. Keyboard events feed a direction stream, an interval tick uses withLatestFrom to step the snake, collisions emit via a subject and tap to grow the snake, and the scene combines snake apples and score with combineLatest and renders at ~60fps until game over.

AI-written summary · about

  1. 0:00Start
  2. 2:55WHAT IS REACTIVE?
  3. 3:55WHY IS IT IMPORTANT?
  4. 5:20RxJS brings the concept of functional reactive programming to the web
  5. 7:36THE GAME
  6. 13:49APPROACH
  7. 14:22BUILDING BLOCKS
  8. 15:01STEERING MECHANISM
  9. 19:15PLAYER SCORE
  10. 23:59SNAKE
~/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.