Jane Street Interview Question

Coding a simple retro game