My First Viking Longship
Helm
Home
The Game

Water Craft

Helm

     Software
     Electronics
Communications

Gems of Wisdom
Media
Helm in action
The helm’s primary functions are to pair with the boat, then translate user input into ME218C Communications Protocol ™ packets as well as display feedback about the ship and game status. The helm code is organized into a series of smaller state machines, with game events being the trigger to move between them. The game always involves moving from the states waiting for iButton, waiting for paired message, waiting for game start, playing game, and endgame. By splitting the game into simpler state machines, rather than one complex state machine with many states, we could easily debug and modularize the code.

Software: Software used to execute the functions of the helm
Electronics: Circuitry used to generate inputs and display outputs