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:

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


Math Man also made this version: 


What do you think? Have you tried it?

And be sure to check out the forum thread:


   – Ninja Ed

Comments (2)

  1. There are 10 challenges this month from LitDev, Amir, and Nonki:…/1be6e691-9942-4b5f-a1a5-47bd3fa14862

    Go check them out!