The grid

So the grid is 8x4 so it has 32 values, this is due to JS max integer value being 32-bits long. This is very important as our limit is now 32 values.

Its worth noting JS can actually represent up to 52-bit integers (higher numbers go into the exponent part and so start to lose accuracy), it is only the bitwise operations that are restricted to 32 bits.

Technically if we are using a grid it could be any size but the middle block with values needs to be 8x4

Our 8x4 grid and values (X)

The left values are 7, 12, 20, 24, 27, 28, 30. They each correspond to a position (0-indexed i.e. 7 is the 8th item etc.)

These particular values can be stored as the word “opmfeo”. Lets look at how that works.