10 July 2022

Learning Programming


Update: I have solved it in 7. Can you do the same?

I long time ago I was looking for a way to teach my children the basics of programming. In order to make it fun, I was specifically looking for ways to have the computer interact during the programming. I found a program called LABIRINT in an old DOS archive. This program generates a random maze and the programmers job is to write a program that will help a little robot get out of the maze. 
 Although the kids never used this program, I wrote an 8 line solution. Try the program first. I'll post the solution elsewhere and make a link from here for those who can't work it out.