Hi, love the turing machine simulator! It was a bit unclear tho as to how the bracket pairing works, with regards to nested brackets. I was under the understanding that the brackets would pair with whatever other bracket came before or after, not that they were paired together from the start. I also struggled with whether a single opening bracket could have multiple closing brackets for the same reason.
I think the problem description should list that each opening bracket will have EXACTLY ONE closing bracket. That would make it more clear and easier to understand.
I suggest you consolidate the instructions into one line of valid characters instead of jumping between line to line.
It’ll eliminate bugs that you don’t really see in an obvious way that you do see if you make everything one dimensional.
I feel compelled to leave some feedback to this puzzle:
I have long been curious about the brainfuck language and thus was really happy with this opportunity to learn about it. I was expecting it to be much more complicated. And when I still had an error in the code and had to analyse the command string and finally realized that the brackets are used to construct loops … loved it!
When you say only one character you confirm the ‘.’ for print is excluded?
If my understanding is right the error ‘INCORRECT VALUE’ can be prompt only if a print is required by one ‘.’ in the code. So testing with the dot (as it is the only code based on your indication, it is printing ? as 0 is ‘NUL’ in ASCII table. trying to change the min value to eclude the 32 first values, it doesn’t suppress the validator fail.
Could you confirm my understanding ?