Thanks Roy and Stefan
Your Lisp works like a charm and with the undo feature too. (It took me few hours to write mine and even that it didn't work to my expectation).
I learned few things from your lisp, Stefan. especially the mapcar.
Just not so use to the mapcar thing and I have always wanted to use the mapcar after learning about it when CAB posted his lisp some time back.
Guess I missed the chance to use it in this 'draw path' lisp until I read your post. But I will make more effort on it to see if the mapcar and lambda can be used in any lisp that I am doing now.
You know something, I have still a lot to learn about Lisp after I see the short-cut that some of you guys wrote (like the Russian master, Cab, Lee Mac, Roy, irneb and you and some others too, in this forum. You guys are outstanding. I wish I could write as good as you guys)
Even though this 'Pacman' game I have written, it works but there are many areas that can be written in a better or shorter way. As I go back to read the whole programs and notice few area can be simplified and I did simplified and improve it (like the legendary Bill Gates once said he likes to rewrite his program so as to improve it).
There will be some areas that can be improved and I may have missed it as I myself could not see it (the short-cut) as it is beyond my knowledge, only the people who can write better Lisp will be able to see it and give advice. I am thinking maybe later when I post the updated game, can someone be kind enough to at least let me know like which area (at least some pointer) can be written in a better way, I would be grateful to that.
Not the whole program maybe like when you read through my code and see...'ah, this area can be simplified..' then post part of that code.
Thanks in advance.