Create a Python version of the BLACK BOX game that appeared in the August 1977 issue of "Games and Puzzles".
The BLACK BOX is an 8-by-8 square contains several hidden atoms.
The object of the game is to locate the position of the atoms in the BLACK BOX by sending rays into the box and seeing where they exit.
Note: Rays are deflected, reflected, or absorbed by atoms.
Ray entry points are numbered 1 to 32 starting at the top of the left corner of the BLACK BOX and going counter clockwise. (See the BLACK BOX example.)
Note: Rays travel horizontally or vertically until they encounter an atom. (See the BLACK BOX example.)
Were you able to determine the location of the atoms in the BLACK BOX?
Ray Entry Points
Cell Numbers
1. Limit the number of atoms in the BLACK BOX to 1 to 5.
2. Occasionally an atom can be masked by the other atoms.
3. Entering bad data will generate an error message.
4.
Example of one possible interaction with the BLACK BOX game.