Tetris Applet

Use
l - to move right
h - to move left
j - to rotate counterclockwise
k - to rotate clockwise

Make sure your mouse is in the applet display area (white area)

Click to restart
Source is available.