~/talk

Pure Fun with PureScript

Talkat DEVit 2017 · 2017-05-20..05-21· [functional-programming, javascript]
github:ttbodil
slides:none on file

Live coding of a PureScript single‑page game implements the Elm architecture with the Pux framework, rendering game objects as CSS‑styled divs and using a simple physics step that adds velocity to position. Controls use W/S to add thrust (+0.2 per frame) to the dog ship, four staggered obstacles spawn offscreen at x≈512 and move left with x‑velocities from about -0.8 to -0.1, collision sets a gameOver flag and applies downward velocity for a falling animation. Hot reload via webpack and a pure functional state update loop complete the setup.

AI-written summary · about

  1. 0:00Introduction
  2. 1:15cosmonaut dogs
  3. 9:40programming
  4. 20:30dogs
  5. 26:30Obstacles
  6. 29:40New Obstacle
  7. 33:30Adding Obstacles
  8. 35:55Collision Detection
  9. 38:05Game Over Logic
  10. 39:57Game Over State
  11. 43:45Conclusion
~/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.