The game is controlled with the keyboard: -up arrow : rotate the piece -down arrow : increase the speed of the piece -left arrow : move the piece left -right arrow : move the piece right
For every 4 lines completed, the level is increased by 1.
-enter: the enter key can be used instead of the mouse click for pressing buttons
All the code is commented and the names of the objects are, for the most part, self-explanatory.
The background image can be changed by changing the “Background.png” image in the “graphics” folder, as long as the new picture file has the same name.
The sounds can also be replaced, by replacing them with other .mp3 files, as long as their name stays the same.
The number of lines necessary for the level to increase can be changed via the “changes.xml” file (the node “linesPerLevel”);
The multiplier of the score, based on the level can also be changed via the “changes.xml” (the node “scoreMultiplier”);