create a Pacman class ; add game loops for drawing and game logic
few code and comments improvements for the future
add a Map class
pacman.move() now forces pacman to move only on the predefined maze
improve encapsulation and use the conventionnal underscore for virtually private properties and methods
add some arguments-checking
add a mazeCurrentLine() method that return the current line on which pacman is moving
add a changeDirection() method and the ability to change pacman horizontal direction with the keyboard
all functions now throw exceptions when their arguments are not valid