The laser shooter and mirror can be dragged and rotated to change the path of the laser. Use A/D to rotate the laser shooter and Left arrow/Right arrow to rotate the mirror. Note: The reason the rotation is slow is so that the angle is perfect to the single degree. (This may be changed in "future versions" - if they ever get made...)
(Feel free to use this as a base for your own games if you want to. There's no real need to credit me because plenty of other people have probably already made this kind of thing before.) How it works: - If the laser is in the air (not touching the mirror), it simply moves forward a step. - If the laser is touching the mirror, it "reflects" off of it. What this means is it takes the original angle of the laser (the input) and gets rotated by a certain amount based on the rotation of the mirror. It then moves forward multiple times until it is no longer touching the mirror to prevent it from rotating multiple times when it's only meant to rotate once. If you want to see the full functionality of this, check inside the project (obviously). There will also be a comment to the "equation" or "formula" used for angle calculating.