=1500*Level)&&(Level<12)) Level++;
+ if (nn>0) RefreshScreen();
+}
+function RefreshScreen()
+{ for (i=0; i < MaxX; i++)
+ { for (j=0; j < MaxY; j++)
+ window.document.images[i+MaxX*j].src = Pic[Fld[i][j]].src;
+ }
+}
+function HideFocus()
+{ if (IsHideFocus)
+ { document.ScoreForm.Score.focus();
+ document.ScoreForm.Score.blur();
+ }
+}
+function IncreaseDifficulty()
+{ if (Level<12)
+ { window.document.ScoreForm.Level.value = Level
+ Level++;
+ }
+}
diff --git a/tgui/src/interfaces/tetris/tetris2.js b/tgui/src/interfaces/tetris/tetris2.js
new file mode 100644
index 0000000000..cc9c152df4
--- /dev/null
+++ b/tgui/src/interfaces/tetris/tetris2.js
@@ -0,0 +1,27 @@
+document.open("text/plain");
+document.writeln("");
+for (j=0; j < MaxY; j++)
+{ document.writeln("");
+ for (i=0; i < MaxX; i++)
+ document.write(" ");
+ document.writeln(" ");
+}
+document.writeln(" |
");
+
+if (navigator.appName == "Konqueror")
+{ document.write("");
+ document.write("");
+ KeyCatchFocus();
+ IsHideFocus=false;
+}
+function KeyCatchFocus()
+{ setTimeout("document.forms[0].KeyCatch.focus()",100);
+}
+function KeyCatchChange()
+{ var vv=""+document.forms[0].KeyCatch.value;
+ if (vv=="") return;
+ KeyDown(vv.charCodeAt(0));
+ document.forms[0].KeyCatch.value="";
+}
+
+document.close();
|