Torpedo
Torpedo is a fun game with professional sound and graphics that will keep you glued to your computer (as if you needed a reason). But watch out, it's addictive!!
Instructions: You start the game with three submarines. Guide your submarine with the mouse pointer. Press the mouse button to fire a torpedo upward toward the surface. Press the keyboard space bar to fire a torpedo to the right. Since it takes your crew some time to reload the torpedo tubes, you are allowed a maximum of one torpedo at a time in each direction.
As the submarine captain, you must destroy all ten of the merchant ships in the top row before you can move on to your next mission. Try not to torpedo hospital ships. It's a violation of international law--and the consequences
can be pretty immediate. Skillful maneuvering will be necessary on advanced missions in order to survive exploding depth charges, hostile torpedo fire, and magnetic mines.
Your sub has a limited supply of fuel and torpedoes, and must be resupplied frequently. A supply sub will pass by occasionally near the ocean bottom and release a trained dolphin carrying fuel and torpedoes. By making contact with the dolphin's supply pack, you can resupply your vessel. Whatever you do, don't torpedo the dolphin! He has many friends in these waters, and they won't take too kindly to it.
Usage: Download the torpedo.zip, and unzip it within an HTML directory. An example page is provided.
Java Source: not available
HTML Source:
<applet code=Seafox width=550 height=300>
</applet>
Author: Ed Hobbs
New on the Java Boutique:
New Review:
Time Management Made Easy with the Quartz Enterprise Job Scheduler
Why not just use the Java timer API? This open source scheduling
API boasts simplicity, ease-of-integration, a well-rounded feature
set, and it's free!
New Applet:
Reverse Complement
Reverse Complement is a simple applet that converts DNA or RNA
sequences into three useful formats.
Elsewhere on internet.com:
WebDeveloper Java
Lots of Java information on webdeveloper.com
WDVL Java
Thorough Java resource at the Web Developer's Virtual Library.
ScriptSearch Java
Hundreds of free Java code files to download.
jGuru: Your View of the Java Universe
Customizable portal with online training, FAQs, regular news updates, and tutorials.
|