Lucid Software interview question

To implement a simple game.