Hoon Workbook

The Workbook is the place to sharpen your Hoon skills. Each entry in the Workbook is a code walkthrough followed by exercises.

  • The Digits example demonstrates how to decompose a number into a list of its digits.

  • The Magic 8-Ball example emulates everyone's favorite decision-making machine.

  • The Traffic-light example demonstrates how to creates a state machine in Hoon.

  • The Bomb-defusing exercise shows how to program, well, a bomb-defusing scenario.