Note: This document assumes you are making an applet out of your Lab 11 code. You can earn the 25 points extra credit on your lab total by making an applet out of any of the following labs:
However
If you want to use sounds or images, you might consider using
the GameCanvas
class instead of the standard CS101Canvas
.
GameCanvas
is quite suitable for extension to obtain your
CS101CanvasGrid
.
If you try running the applet from within Cafe, Cafe may freeze up. Instead, after rebuilding the project, you can test your applet in an actual browser, described in the next step.
IMPORTANT NOTE: The browser is likely to cache your game and may not reload your class files even if you hit the reload button. Most Netscape implementations will reload the class files if you hold down the Shift key while clicking reload.
To be absolutely sure that you are seeing the results of your changes, exit the browser and restart it and then reload the page using your bookmark.
.www-docs
directory. Then, you need to set the permissions
so that the appropriate folders and files
are world-readable.
(The .java files should NOT be made world readable.)
We have prepared a script that will set the permissions for you.
To use it, open a telnet session to your UNIX account and type
the following line.
~cs101/setpermissions
If the script runs successfully, you should see the message "...done" at the end. If you get error messages, ask a TA for help. If you want, you can look at the script to see the unix commands being executed.
Subject: Contest Entry Ron Cytron http://www.cec.wustl.edu/~cytron/Lab11/Tetris.htmlWe are not responsible for lost, delayed or misdirected email.