Firstly, go and get the sword! - Clue: look into the cave... Press Q to attack. Press I to open the inventory. Use ← ↑ → ↓ to move.
https://github.com/Jupi007/TLOZ-js