A and D to move, W to jump, Space to swing your sword, evade the attacks from the golem while getting in as much damage as you can safely inflict. Tip: You can hit the especially small rocks it sometimes drops into its eye for major damage.
All scripts and sprites by me. SFXs by the Scratch Sound library. Music is Golem from Terraria.