var Controller = function(args) {
  this.actorCanvas = args.actorCanvas;
  this.pac = new Actor({
    context: this.actorCanvas.context,
    startX: 113,
    startY: 212,
    name: "m",
    direction: "right"
  });
  this.blinky = new Ghost({
    context: this.actorCanvas.context,
    direction: "left",
    name: "b",
    startX: 112,
    startY: 116
  });
  this.inky = new Ghost({
    context: this.actorCanvas.context,
    direction: "up",
    name: "i",
    startX: 96,
    startY: 139
  });
  this.pinky = new Ghost({
    context: this.actorCanvas.context,
    direction: "right",
    name: "p",
    startX: 112,
    startY: 139
  });
  this.clyde = new Ghost({
    context: this.actorCanvas.context,
    direction: "down",
    name: "c",
    startX: 128,
    startY: 139
  });
}

@@ -780,8 +780,200 @@
   %7D);%0A%7D%0A
+Controller.prototype.handleKeyDown = function(event) %7B%0A  var keyPressed = keyCodes%5Bevent.keyCode%5D;%0A  if(keyPressed) %7B%0A    event.preventDefault();%0A    this.pac.handleKeyDown(keyPressed);%0A  %7D%0A%7D%0A

Add Controller.handleKeyDown