'************************************** ' Name: BlackBox ' Description:This is the BlackBox logic ' al deduction game. 4 atoms are hidden in ' a box and you must shoot electrons to de ' duce their location. Try to use the leas ' t number of shots. I added a Trace option for my daughter to learn. Its a fun game and I am supprised that I haven't seen it listed before. Probable not the best code but it works. ' By: Ray messinger ' ' ' Inputs:None ' ' Returns:None ' 'Assumes:None ' 'Side Effects:None 'This code is copyrighted and has limite ' d warranties. 'Please see http://www.Planet-Source-Cod ' e.com/xq/ASP/txtCodeId.7393/lngWId.4/qx/ ' vb/scripts/ShowCode.htm 'for details. '************************************** Black Box
Black Box - Logical deduction game

Try to discover the location of the 4 hidden atoms in the box by shooting electrons into it. The electrons interact with the atoms in specific ways. Shoot by clicking on the yellow edge cells. Guess the location by clicking on a green cell. After selecting the 4 locations click on the "Guess" button.

Electron Reaction Rules
2Deflected- hit an atom in an adjacent cell. It is deflected away at a right angle.
 
   Absorbed- hit an atom head-on.
 
    Reflected- hit atoms in both adjacent cells or on an adjacent atom on the perimeter of the blackbox .
 


Cheat: Trace