Use the arrow keys to move. Use the space bar to smash. When the ghosts health is at 500 hp hit the 6 key instead of the space key.
Have fun! I fixed the lose screen.