Jane Street Interview Question

Code up Tetris, with specific requirements