Lucid Software Interview Question

To implement a simple game.