This is an adapted version of Per Cederberg's Tetris applet
The changes made are: addition of a high score list that's saved between invocations (in
application mode), and more elaborate scoring (e.g. more points on higher levels,
additional points for completing several rows with a single figure, and more points
for dropping a figure from a higher altitude).
|
|
The following keys control the game:
- Left —
Moves the falling figure to the left.
- Right —
Moves the falling figure to the right.
- Down —
Rotates the falling figure counter-clockwise.
- Up —
Rotates the falling figure clockwise.
- Space —
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).
|