When I first experimented with Elm, I wrote this simple implementation of the classic Snake game. The source code is available on GitHub.
Use your mouse or finger to point the snake to point the snake in the direction to move. Gobble the green prizes to score points. The snake will grow as it eats and you will need to avoid your tail in order to keep going!