On the Subject of understanding Boomdas
Dats a boom.
For those who are familiar with original manual.
Let A, B, C, ..., I be the digits on the module in reading order.
- Initialize n = [1,2,3,4,5,6,7,8];
- Initialize x = [A, AB, ABC, ..., ABCDEFGH] (you dont need I);
- Your reference digits: (floor(x/4))%n;
- Your directions (0/1/2/3 = u/r/d/l): x%4.