Diagram Description:
Use the law of reflection: the angle of incidence equals the angle of reflection.
Create a program that:
What does the user wins if they hit any part of the target? Perhaps 5 point for hitting the center of the mirror and 1 point for hitting the end. Anywhere between the center and the end is scaled between 1 to 5? Perhaps limit the user to five tries at hitting the mirror?
Should you use Cartesian coordinates with the origin (0,0) the center of the box?
Use graphics.py. Click HERE for more information. (download, install, documentation, etc.)
Add a second mirror. The user must aim the laser to reflect off of both mirrors before hitting the target.
a. Add a GUI.
b. Add a second, third, forth, ... mirror.
c. Assume there is no mirror but the box walls are mirrors.
Aim the laser to reflect off of two walls to hit
the center of the target.
d. Try three walls, ...
sin(α) sin(β) sin(δ) -------- = -------- = -------- A B C
Use the Law of Sines to solve oblique triangles. Any triangle that is not a right triangle is an oblique triangle.
Lets analyze the problem and break it into manageable parts.