Light Beam Physics Challenge - Small Basic
Published Feb 12 2019 01:52 PM 203 Views
Microsoft
First published on MSDN on Jan 14, 2013

Authored by Ed Price


Make sure you check out LitDev's January challenges .


Here's more info about his Physics Challenge: Light Beam!


Physics Challenge


Write a program to reflect a light beam off a rotated surface.


Further challenge - make a game where the user must rotate the surfaces to get the beam to bounce off several surfaces and hit a target.





Zock took a crack at solving it: http://smallbasic.com/smallbasic.com/program/?LMB722


Use the up/down arrows to change the angle on the reflector.



Math Man also made this version: http://smallbasic.com/smallbasic.com/program/?XKS442



What do you think? Have you tried it?


And be sure to check out the forum thread: http://social.msdn.microsoft.com/Forums/en-US/smallbasic/thread/1be6e691-9942-4b5f-a1a5-47bd3fa...


Thanks!


- Ninja Ed

Version history
Last update:
‎Feb 12 2019 01:52 PM
Updated by: