Challenge: Pong

Creating a movable player



You are going to program the player in this classic game called Pong. When the up arrow key is pressed, the paddle on the left should move up. When the down arrow key is pressed, the paddle should move down

Draw = function() {

If (----) {

If (keyCode === ----){

----();

}

}

};