Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Hey, thanks! As to you first question, the numbers in ASCII are sequential, so 0-9 have code 48-57. Stopping execution you can do with loops, since they stop executing if the current value is zero, you just have to design the loop in such a way that it reads in the next value as the last step, so that if that happens to be 0, it stops.

But in this task, you're not trying to print the numbers, you just wanna read in and convert the ASCII codes to the numerical values, essentially making the two bands the same.

I'll leave it at that so you can work it out yourself, but if you want more hints, let me know :)

(+1)

Oh! Thank you so much!

(+1)

I'm a tad embarrassed to admit it, but after like nearly 40 minutes of trying to do something with loops, I decided to just brute-force the solution by using ++ + - and > to manually update each memory cell to match the corresponding input. I've been looking up guides and tutorials, but I think I'm most likely not wording my searches correctly haha... Hopefully, I'll get the basics down and then I can go back to this and try a proper solution!

(+1)

Haha, well whatever works, works :D but really, it's a fairly simple idea: read the values, subtract 48, and do all that in a loop. If you want a spoiler with explanation, I put the solution here: https://hypnoticowl.com/misc/read-ascii.html

(+1)

OH my lordy goodness... I was so close the whole time! (T~T) Thank you for the help!

(+1)

I figured while I'm at it, I might as well put together a guide for the other challenges too, you can find it here if you need it: https://hypnoticowl.com/misc/bf-man/

(+1)

Thank you so much! I know I've said this already, but this has been a wonderful introduction to learning Brainfuck. After I get comfortable with BF, I'm actually planning on learning Fortran next. My reasoning is that if I can understand the esoteric nature of this language, I can probably handle learning Fortran!

(+1)

I'm not familiar with it, but by the looks of it it'll be a whole lot easier and overall more useful :D Good luck!