I'd love to improve this in the future but sadly the code has become too complex to be easily modifiable. arrow keys - rotate pieces space - drop piece p - pause game