Jane Street Interview Question

Implement tetris in 30 minutes