Arrow keys to move, Up or A to rotate, Down Arrow to drop fast. Clear lines to win points. I tried to program a hard drop and a ghost piece, but that didn't work. So if you were wondering where this went, now you know.