Light Beam Physics Challenge - Small Basic
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: https://smallbasic.com/smallbasic.com/program/?LMB722
Use the up/down arrows to change the angle on the reflector.
Math Man also made this version: https://smallbasic.com/smallbasic.com/program/?XKS442
What do you think? Have you tried it?
And be sure to check out the forum thread: https://social.msdn.microsoft.com/Forums/en-US/smallbasic/thread/1be6e691-9942-4b5f-a1a5-47bd3fa14862
Thanks!
- Ninja Ed
Comments
Anonymous
January 15, 2013
There are 10 challenges this month from LitDev, Amir, and Nonki: social.msdn.microsoft.com/.../1be6e691-9942-4b5f-a1a5-47bd3fa14862 Go check them out!Anonymous
February 24, 2013
I added these two programs to the Gallery here: blogs.msdn.com/.../small-basic-program-gallery-listed-by-category.aspx