transfor PacmanGame.java into pacman_game.rb