Tetris
This is a Java applet implementing the popular
Tetris game.
The following keys control the game:
- Left –
Moves the falling figure to the left.
- Right –
Moves the falling figure to the right.
- Up or Space –
Rotates the falling figure counter-clockwise.
- Shift + Up –
Rotates the falling figure clockwise.
- Ctrl + Up –
Rotates the falling figure randomly.
- Down –
Moves the falling figure all the way down.
- N –
Toggles preview of next figure.
- P –
Pauses or resumes the game.
- S –
Increases the falling speed (by one of ten steps).
This Java applet is available under the
GNU General Public
License. You are therefore free to download and distribute the
source code or the
binary, as long as you provide
others with those same rights. See the license for details.
Copyright © 2004 by Per Cederberg. Permission
is granted to copy this document verbatim in any medium, provided
that this copyright notice is left intact.