★ wanayoo — archive 1999 http://javaboutique.internet.com/AllLights/Nouvelle recherche | Portail wanayoo
internet.com logo To JavaBoutique Home

 Java News
 Latest Applets
 Applet Categories
 Applet Index
 Applet Help
 Submit Applets
 Other Resources
 How-To Java
 Java Reviews
 Java FAQs
 Java Forum
 Java IDEs
To Webdeveloper.com
 Mecklermedia
 Internet.com
 Magazines
 Trade Shows
 Advertise
 Corporate
 Information
 Search
 Subscribe

webreference.com

Search Engine Watch

The JavaScript Source

AllLights.java


Playing Instructions: The objective of the game is to turn all 25 "lights" on. Clicking a square will toggle its light (as well as the lights of all horizontally and vertically adjacent squares) on and off.
Usage: Place AllLights.class within your HTML directory.

Java Source: AllLights.java

HTML Source:

<APPLET CODE="AllLights.class" WIDTH=280 HEIGHT=200>
</APPLET>

Author: Yasunari Hiramatsu




Copyright 1998 Mecklermedia Corporation.
All Rights Reserved. Legal Notices.