Right and Left arrow keys to move in the respective direction, Space to attack, Up to climb a ladder, Down to descend a ladder. Each time you attack the phantom successfully, your score will increase by one.
I will add the updates below. Dec. 21, 2017 Version 1.0 first shared