works like you would expect, except this is graphical, heres a guide all of the cells have the value 0 at the start of the program, the first cell is at the left bottom - changes the current selected cell by -1, it can wrap around and turn into a 255 + changes the current selected cell by 1, it can wrap around and turn into a 0 < changes the current selected cell to the previous cell, can wrap around and select the last cell (could be offscreen if you created more cells) > changes the current selected cell to the next cell, left to right first, bottom to top second, creates more cells if you go off the grid using this command [ is a start of a loop, skips the loop if the current selected cell is the number 0 ] is an end of a loop, escapes the loop if the current selected cell is the number 0, otherwise goes to the linked [ , tries to find the current key that the player is holding and converts it to an id and sets it as the current selected cell's value . refreshes the current frame, this aint no text-based brainfreak, this is graphical brainfreak this grid is also 16 by 16 cells which is 256 cells which is how many numbers a cell can store
inspiration by this video: https://scratch.mit.edu/discuss/youtube/Qn0yFkgNXqQ credits to @griffpatch for the backpackable grid sprite