Build a game with Fable

in 45 minutes

Tomasz Heimowski



  • What
  • Why
  • Demo
  • Q&A

Slides available at


These are not goals

  • see clean code
  • praise functional purity
  • understand every line of code
  • admire my fast typing

These are the goals

  • interop with JS libraries
  • use mutability to gain on performance
  • see Fable in action
  • have fun

Starting point


  1. Move player with buttons
  2. Add first ball to board
  3. Firing the harpoon
  4. Shooting and splitting balls
  5. Counting score
  6. Handling game over
  7. Restart game automatically
  8. High scores
  9. Ship it!

Thank you

Source code: