I have recently asked a question about a couple of problems (now solved) that I had with the code below. The program itself is simple, there is a character that moves in a boxed