Copyright and License

This Application is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation.

This Application is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Install and run Tetris:

Tetris runs as Java-Applet or as standalone application (Java-Application)
1. Java Applet:

1.1 upload Archiv-File (tetris.jar) to your site

1.2 upload PHP-Script "highScore.php" into same directory as tetris.jar and mark as executable (e.g. "chmod 755 highScore.php")

1.3 insert applet-tag into your HTML-page:

<applet code="tetris.Main"  archive="tetris.jar" height="30" width="150">
<PARAM NAME="previewcolor" VALUE="51698F">
<PARAM NAME="gamecolor"    VALUE="000000">
<PARAM NAME="background"   VALUE="51698F">
<PARAM NAME="foreground"   VALUE="FFFFFF">
<PARAM NAME="levelmode"    VALUE="20">
<PARAM NAME="language"     VALUE="de"
</applet>

Meaning of Parameters:

2. Java Application

2.1 Copy archive-File (tetris.jar) into preferred directory

2.2 Copy properties file (tetris.props) into same directory
"tetris.props" has following format/contents:

   
    /* ---------------------------------------------------- */
    /* tetris.props: Properties for the tetris game         */
    /* ---------------------------------------------------- */ 
    foreground=ffffff
    background=51698F
    gamecolor=000000
    previewcolor=000000
    levelmode=20
    language=de  
 

Meaning is same as for applet (see above).

2.3. to play game
double click "tetris.jar" in Windows Explorer or
run via command: "java -jar tetris.jar"