Application

* Distance Travelled
* Path Taken
* No. of lines formed
* No. of reflections
* End Position
* No. of intersections in path

Enter Dimensions

Rows
Columns
Mode
Type

Play

Guess: * Distance Travelled
* No. of Lines
* End Position
* If light passes through a particular point
* Length and Breadth such that all points/blocks are passed through e.g. 13,45 in Normal mode

Facts

* No Block is passed through more than Twice

What is KB's Reflection?

KB's Reflection is the measure of distance travelled (say by light) in a rectangle starting from any one corner and reaching any another corner in the rectangle moving by reflection whenever a side of rectangle is reached.
We take a rectangle and divide rectangle into squares. The light is assumed to enter in such a way that the light entering in a square from one corner will leave the square from opposite corner.
There are two modes:
Normal Mode The light reflects when it reaches side of the square.
Block Mode Here we move block by block in the diagonal direction.
Example: Let rectangle be of say X units (length) and Y units (breadth) or we can say that there are X columns and Y rows i.e X*Y no. of Squares. Let there be 3 rows and 5 columns.
Example
3,1 3,2 3,3 3,4 3,5
2,1 2,2 2,3 2,4 2,5
1,1 1,2 1,3 1,4 1,5
Block Mode
3,1 3,2 3,4 3,5
2,1 2,3 2,5
1,2 1,3 1,4
Normal Mode