Lucid Software Interview Question

Three coding questions, two easy, one game implementation.