Hi,
I like this puzzle and I wrote a similar puzzle in my own language, Hobby BASIC.
Windows 10 console screenshot.