<HTML>
<HEAD>
<TITLE>Java Gallery: Tetris</TITLE>
<!-- Copyright (c) 1996-1996 by The Geometry Center. All Rights Reserved. -->
</HEAD>
<BODY BGCOLOR="FFFFFF">
<!-- *Navigation-Links -->
<B>Up:</B> <A HREF="../"><I>JAVA Gallery of Interactive On-Line Geometry</I></A><BR>
<HR>
<p>

<!-- *Begin-Document-Body -->
<!-- with the exception of the APP and APPLET tags, this document
  -- is HTML 2.0 compliant. I haven't yet seen a DTD which includes APPLET,
  -- and APP can't be put into one. Sigh -->

<H1>Tetris Java Applet</H1>

The Java applet below runs a Tetris game that has been modified to
play the same pieces over and over.  This game must end (in a loss)
before 70,000 pieces have been played.  The current high score
is <!--#include file="highscore" -->.  How many pieces can you place?

<p>

This site includes a brief <A HREF="explanation.html">explanation</A>
of why you are destined to lose this game, a link to a <A
HREF="tetris.ps">PostScript preprint</A> of the author's research
paper on the subject, a list of <A HREF="highscores.html">high
scores</A>, and, of course, the applet below.

<p><HR><p>
<CENTER>
<FONT COLOR=#C04000"><I>To begin playing, press the <B>P</B> key while the
mouse is over the applet.</I></FONT>
</CENTER>

<p><HR><p>
<CENTER>
<APP CLASS=TETRIS X=10 Y=20>
<APPLET CODE="Tetris.class" WIDTH=500 HEIGHT=260>
<PARAM NAME=X VALUE=10>
<PARAM NAME=Y VALUE=20>
<PARAM NAME=HIGHSCORE VALUE=<!--#include file="highscore"-->>
To play this game, you need a Java-compatible browser.
</APPLET>
</CENTER>
<p><HR>


<H2>Acknowledgements</H2>

Applet by: <A HREF="/locate/burgiel">Heidi Burgiel</A><BR> This applet
is based on a Tetris applet written by
<A HREF="http://www.mit.edu:8001/people/nathanw/">Nathan Williams</A> of 
MIT. The procedure which records high scores was, for the most part,
written by Herky Gottfried and Shikha Ghosh Gottfried.  Thanks also to
<A HREF="/locate/daeron">Daeron Meyer</A> and <A
HREF="/locate/asr">Adam Rosien</A> for their patience and help in
getting it all running.
<!-- *End-Document-Body -->
<p>

<!-- *Navigation-Links -->
<HR>
<B>Up:</B> <A HREF="../"><I>Java Gallery: Tetris
</I></A><BR>

<!-- *GC-Common-Footer -->
<HR>
<NOBR><A HREF="/"><IMG SRC="/pix/home.gif" ALT="[HOME]" ALIGN=MIDDLE></A>
<I>The Geometry Center Home Page</I></NOBR>
<p>
Comments to:
<A HREF="/admin/mail/webmaster.html">webmaster@geom.umn.edu</A><BR>
Created:  Jan 7 1996 --- 
<!-- hhmts start -->
Last modified: Mon Apr  8 14:40:13 1996
<!-- hhmts end -->
<BR>
Copyright &#169; 1996-1996 by
<A HREF="http://www.geom.umn.edu/">The Geometry Center</A>
All rights reserved.
</BODY>
</HTML>
