Player 1 use the w-key to move up and the s-key to move down.

Player 2 use the Numpad Up(8) and Down(2) to move.

Link to the Code.